From: Junio C Hamano Date: Wed, 19 Nov 2008 01:51:30 GMT Subject: Re: Git commit won't add an untracked file given on the command line Message-ID: <7vtza4trdp.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > It may be a traditional wart, but a helpful one. Remember, you can also > say: > > git commit that/directory/ > > I do _not_ want Git to add all untracked (and unignored) files in that > directory automatically. Yes, very much so. Although it is conceivable that we may want to change that to behave more like "git add that/directory && git commit that/directory", that is a rather large UI semantics change (even if it could be a useful one) that needs to wait for a major version bump, perhaps in 1.7.0. I think Mark's update to the documentation is a good thing to have in any case, so I've applied it.