From: Junio C Hamano <gitster@pobox.com>
To: Andrew Ardill <andrew.ardill@gmail.com>
Cc: "git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: What's cooking in git.git (Feb 2013, #05; Tue, 12)
Date: Tue, 12 Feb 2013 16:34:52 -0800 [thread overview]
Message-ID: <7vsj51caqb.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <CAH5451nPKq8DKwo+Bkxh08N-wqrYCY4BihbvaE14z5iGVA1iZw@mail.gmail.com> (Andrew Ardill's message of "Wed, 13 Feb 2013 11:21:03 +1100")
Andrew Ardill <andrew.ardill@gmail.com> writes:
> On 13 February 2013 11:06, Junio C Hamano <gitster@pobox.com> wrote:
>> * jc/add-delete-default (2012-08-13) 1 commit
>> - git add: notice removal of tracked paths by default
>>
>> "git add dir/" updated modified files and added new files, but does
>> not notice removed files, which may be "Huh?" to some users. They
>> can of course use "git add -A dir/", but why should they?
>>
>> Resurrected from graveyard, as I thought it was a worthwhile thing
>> to do in the longer term.
>>
>> Stalled mostly due to lack of responses.
>
> What do you need to progress this?
>
> I have been bitten by this before (the 'huh?' reaction) and think the
> previous discussions and patch look reasonable. Does it need testing?
I _think_ the code does what it claims it does; I do not think that
is what is lacking (more testing would not _hurt_, of course).
> Further input??
The updated behaviour is a departure from the traditional norm, and
it would surprise people who do not expect "git add ." to update the
index for removed paths. For many of them, it may be a pleasant
surprise, but "many" is not "all".
The change could negatively affect people who expect that removing
files that are not used for their purpose (e.g. a large file that is
unnecessary for their build) will _not_ affect what they get from
"git add ."; obviously they must have trained themselves not to do
"git add -u" or "git commit -a".
next prev parent reply other threads:[~2013-02-13 0:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 0:06 What's cooking in git.git (Feb 2013, #05; Tue, 12) Junio C Hamano
2013-02-13 0:12 ` jn/shell-disable-interactive (Re: What's cooking in git.git (Feb 2013, #05; Tue, 12)) Jonathan Nieder
2013-02-13 0:15 ` Junio C Hamano
2013-02-13 0:21 ` What's cooking in git.git (Feb 2013, #05; Tue, 12) Andrew Ardill
2013-02-13 0:34 ` Junio C Hamano [this message]
2013-02-13 0:42 ` Andrew Ardill
2013-02-13 15:27 ` Junio C Hamano
2013-02-14 2:43 ` Andrew Ardill
2013-02-14 4:36 ` Junio C Hamano
2013-02-14 4:54 ` Andrew Ardill
2013-02-14 16:59 ` Junio C Hamano
2013-02-14 23:17 ` Junio C Hamano
2013-02-22 8:32 ` Miles Bader
2013-02-22 16:58 ` Junio C Hamano
2013-02-18 20:21 ` greened
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=7vsj51caqb.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=andrew.ardill@gmail.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).