Merge branch 'jc/add-2.0-delete-default' (early part) into next
commit199442e153f69915d8816d06c0a5bfffed2bdcb7
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Apr 2013 21:31:58 +0000 (5 14:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Apr 2013 21:31:58 +0000 (5 14:31 -0700)
tree02be24a83cf44c4337da439b6ba6133264513460
parent1b42c19ae46f5b04c0694b66a25bb1a3d5211982
parent45c45e300bcbe493a39533bb04f6bd548e8a3f19
Merge branch 'jc/add-2.0-delete-default' (early part) into next

In Git 2.0, "git add pathspec" will mean "git add -A pathspec".  If
you did this in a working tree that tracks dir/lost and dir/another:

   $ rm dir/lost
   $ edit dir/another
   $ git add dir

The last step will not only notices and records updated dir/another,
but also notices and records the removal of dir/lost in the index.

Start training the users for this change to say --no-all when they
want to ignore the removal to smooth the transition hump.

* 'jc/add-2.0-delete-default' (early part):
  git add: start preparing for "git add <pathspec>..." to default to "-A"
  builtin/add.c: simplify boolean variables
builtin/add.c
t/t2200-add-update.sh