"staging area"?
Masklinn
masklinn at masklinn.net
Sun Jun 20 15:24:18 UTC 2010
On 2010-06-20, at 14:58 , Daniel Carrera wrote:
> On Sun, Jun 20, 2010 at 2:46 PM, Masklinn <masklinn at masklinn.net> wrote:
>> Though git has git add [-i|--interactive] which uses the same system to stage stuff (with chunk splitting and chunk edition, though I think I do prefer Darcs's solution to these issues, it feels less low level and messy than git's interactive add)
>
> I just tried "git add -i" but honestly I can't figure out how it
> works. I'm totally confused. I had read somewhere that "git add" had
> some flag to do darcs-like commits, but I can't figure out how.
You want the patch subshell, which you can also access directly with git add -p for an experience closer to darcs/hg record.
> In any
> case, I don't want to choose hunks during the "git add" step. I really
> prefer the "darcs record" / "hg record" where you can view all the
> changes for the entire working directory.
I'm not really sure what to make of this. git add -i/-p does show you the changes between the working directory and the staging area. I can understand not liking git's two-step commit process, I definitely am not fond of it myself, but I don't quite understand what your second phrase means here.
More information about the Mercurial
mailing list