Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [BUG] bugs in clean, status, bisect, and send-email

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:21

Mark Lodato [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help