]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/add.c
git add: -u/-A now affects the entire working tree
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 22:53:17 +0000 (15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Apr 2013 23:09:21 +0000 (16:09 -0700)
commit808d3d717e86be597aa94d4a26f82a0ba5a53c22
tree028d2eed0ffc04635571e699e7e640e28c0ee2f3
parentb75cdfaa882a00f2274e74b21c1a9927d184ed29
git add: -u/-A now affects the entire working tree

As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without
pathspec, 2013-01-28), in Git 2.0, "git add -u/-A" that is run
without pathspec in a subdirectory updates all updated paths in the
entire working tree, not just the current directory and its
subdirectories.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt
builtin/add.c
cache.h
t/t2200-add-update.sh