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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lodato <lodatom@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]