From: Junio C Hamano <gitster@pobox.com>
To: Mark Lodato <lodatom@gmail.com>
Cc: git list <git@vger.kernel.org>
Subject: Re: [BUG] bugs in clean, status, bisect, and send-email
Date: Wed, 24 Feb 2010 20:09:50 -0800 [thread overview]
Message-ID: <7v1vgaq7ld.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <ca433831002241928hef29dadu39f93bc1a8460331@mail.gmail.com> (Mark Lodato's message of "Wed\, 24 Feb 2010 22\:28\:41 -0500")
Mark Lodato <lodatom@gmail.com> writes:
> 2. git-status globs only match untracked files, not staged or unmodified
I am reasonably sure that this is related to a n issue we discussed on
"git add" vs "git add -u" recently.
In short, you cannot expect glob style pathspecs to work for an operation
that involves running diff internally. You can guess that "To be
committed" is computed by internally running "diff --cached".
Currently globbing style pathspec are supported as an added bonus to only
some commands (e.g. "grep", "ls-files", "add" but not "add -u"). You can
also guess that "Untracked" is computed by internally running "ls-files".
In the meantime, limit yourself to leading path style pathspecs.
next prev parent reply other threads:[~2010-02-25 4:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 3:28 [BUG] bugs in clean, status, bisect, and send-email Mark Lodato
2010-02-25 4:09 ` Junio C Hamano [this message]
2010-02-25 7:07 ` Christian Couder
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=7v1vgaq7ld.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=lodatom@gmail.com \
/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).