Re: [FAQ?] Rationale for git's way to manage the index
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 10, 2007, 00:31 UTC
- Message-ID
- <7vzm4dplhu.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <alpine.LFD.0.98.0705090825090.4062@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> And unlike the "simpler" model of committing individual hunks > with "git add -i" or something like that, my model is actually > much superior!
I obviously agree with this. As I said a few times I regret introducing "add -i" --- it encourages a wrong workflow, in that what you commit in steps never match what you had in the working tree and could have tested until the very end.