git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Subject: [PATCH 0/3] Make "git add dir/" notice removed "dir/file"
Date: Sat,  9 Mar 2013 00:22:35 -0800	[thread overview]
Message-ID: <1362817358-24356-1-git-send-email-gitster@pobox.com> (raw)

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

             reply	other threads:[~2013-03-09  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-09  8:22 Junio C Hamano [this message]
2013-03-09  8:22 ` [PATCH 1/3] builtin/add.c: simplify boolean variables Junio C Hamano
2013-03-09  8:22 ` [PATCH 2/3] git add: start preparing for "git add <pathspec>..." to default to "-A" Junio C Hamano
2013-03-09  8:22 ` [PATCH 3/3] git add <pathspec>... defaults " Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1362817358-24356-1-git-send-email-gitster@pobox.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).