On Fri, Sep 04, 2009 at 09:02:16AM +0200, Clemens Buchacher wrote: > On Wed, Sep 02, 2009 at 04:19:17AM -0400, Jeff King wrote: > > > [1] I would prefer "git add -u ." to add only the current directory, and > > "git add -u" to touch everything. > > FWIW, I feel the same way. And there is no easy way to do that now. (cd `git > rev-parse --show-cdup`; git add -u) ? I suspect it is too late to change it due to compatibility issues. OTOH, I think the intent of v1.7.0 is to allow a few small breakages like these. You could always write an RFC patch and generate some discussion; I'm not 100% sure that there are enough people that agree with us to change the default. I guess we could add a "git add --absolute" option, though it is slightly annoying, because I generally do not realize that I needed to use such an option until several minutes after running "git add". I would be fine with a "be absolute, not relative" config option such as what we have for status (in fact, a global "be absolute, not relative" option to cover all commands might be handy). The only obstacle is that I think "git add" is often used as plumbing in scripts (arguably, they should be using update-index, but "git add ." is just so convenient). -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html