add -u: get rid of "treewideupdate" configuration
commit14b47695e9a6d8ecb28453ad75086886f486acf7
authorJunio C Hamano <gitster@pobox.com>
Thu, 7 Apr 2011 00:25:44 +0000 (6 17:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Apr 2011 00:25:44 +0000 (6 17:25 -0700)
treed87c23dfe3226a2ea325dc2a7bfc1c48fea7b8ce
parent4ffafa0b890df7dd9c199d1f5428038e7cfc3b4b
add -u: get rid of "treewideupdate" configuration

Thanks to the magic ":/" pathspec, it is much easier to invoke both
tree-wide operation and limited-to-cwd operation on demand from the
command line.  Only the downside of the configuration variable, namely,
it makes git behave differently depending on who you are and in which
repository you are using it, hence making it harder to help and/or
teach others, remains.

Remove the configuration variable, and adjust the warning message.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
t/t2200-add-update.sh