[PATCH 0/3] Make "git add dir/" notice removed "dir/file"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 9, 2013, 08:22 UTC
- Message-ID
- <1362817358-24356-1-git-send-email-gitster@pobox.com>
This resurrects an ancient stalled topic from last year, rebased on top of the recent "git add -u/-A" documentation updates 5cae93566027 (add: Clarify documentation of -A and -u, 2013-03-07) by Greg Price.
The first one is a pure clean-up. The second one is a preparatory step that can happen before Git 2.0 to prepare existing users to form a habit of saying "--all" (or "--no-all") explicitly when giving a directory name to "git add <pathspec>...".
Then the last one can be done in Git 2.0 to swap the default.
Junio C Hamano (3): builtin/add.c: simplify boolean variables git add: start preparing for "git add <pathspec>..." to default to "-A" git add <pathspec>... defaults to "-A"
Documentation/git-add.txt | 22 +++++++++++++++++++--- builtin/add.c | 36 +++++++++++++++++++++++++----------- t/t2200-add-update.sh | 6 +++--- 3 files changed, 47 insertions(+), 17 deletions(-)
-- 1.8.2-rc3-203-gc9aaab5