From: Junio C Hamano Date: Wed, 01 Feb 2006 22:50:03 GMT Subject: Re: [Census] So who uses git? Message-ID: <7v8xsu7kys.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Nicolas Pitre writes: > Actually, my opinion is that should be the behavior for your first item > above (when only filenames are specified). If you want to _also_ > include the index like you describe in your first item then an > additional switch should be provided. OK, agreed. Sorry to be slow. So, to recap: git commit paths... (temporary index thing) git commit --incremental paths... (same as current w/o --incremental) git commit (same as current) git commit -a (same as current) And I agree with Joel that we should not automatically imply "git add" with or without --incremental. I do not particularly have much preference among --also, --with-index, or --incremental, but: - 'with-index' is precise but might be too technical; - 'incremental' is not really incremental -- you can use it only once. Because you do not have to say "git commit --also" without paths (which _is_ awkward) to get the traditional behaviour, maybe it is a good name for that flag (it is also the shortest).