git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: kaitanie@cc.helsinki.fi
Cc: gitster@pobox.com, git@vger.kernel.org
Subject: Re: [PATCH] Test case for a problem with git add -u from subdirectory
Date: Wed, 20 Feb 2008 10:37:36 -0800	[thread overview]
Message-ID: <7vhcg35v9r.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20080220143215.GA23053@localdomain

Pekka Kaitaniemi <kaitanie@cc.helsinki.fi> writes:

> The key sentence being: "If no paths are specified, all tracked files
> are updated."

My recollection is that the current behaviour was requested
specifically by the users.  Although I do not remember offhand,
the first implementation might have even been doing the whole
tree unconditionally, and surprised users by stepping outside of
the current subdirectory.

Sometimes I am annoyed that it does not do the whole tree
(i.e. you have to go to the top), but some other times (which
happens to be majority for me but it would depend on the
project) I find the current behaviour a lot more convenient, and
personally I do not think it is a good idea to change the
current behaviour.

Please send in documentation clarifications.

  reply	other threads:[~2008-02-20 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20 14:32 [PATCH] Test case for a problem with git add -u from subdirectory Pekka Kaitaniemi
2008-02-20 18:37 ` Junio C Hamano [this message]
2008-02-20 19:31   ` Pekka Kaitaniemi

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=7vhcg35v9r.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=kaitanie@cc.helsinki.fi \
    /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).