Junio C Hamano <gits...@pobox.com> writes: > But v220.127.116.11~1 (git-add -u paths... now works from subdirectory, > 2007-08-16) changed the semantics to limit the operation to the > working tree.
Not really. It fixed "git add -u path", not plain "git add -u". A quick test checking out and compiling v18.104.22.168~1^ shows that "git add -u ." from a subdirectory was adding everything from the root. My interpretation is that v22.214.171.124~1 fixed an actual bug, without thinking about what would happen when "git add -u" was called without path, so the behavior is "what happens to be the most natural to implement". Indeed, the behavior was actually documented only later, in v126.96.36.199~3 (Feb 21 00:29:39 2008, Clarified the meaning of git-add -u in the documentation), the previous doc said only "If no paths are specified, all tracked files are updated.". -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html