All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug?] .git visible in git-status
@ 2015-10-14 13:21 Radosław Warzocha
  0 siblings, 0 replies; only message in thread
From: Radosław Warzocha @ 2015-10-14 13:21 UTC (permalink / raw)
  To: git

I've recently stumbled upon interesting issue - .git/* files occurring
in the git-status output.
Let me elaborate:
1. When running
> git status -s
no .git/* files are displayed
2. When running:
> git status -s .git
only an empty line is printed out
3. But when I run (for example):
> git status -s .git/HEAD
I get
?? .git/HEAD
Files are listed also when -s option is not present. When providing
.git/* all of the files under .git directory are printed.

I don't know if this is desired behavior, but i guess it's not.

Best regards
Radek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-14 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-14 13:21 [Bug?] .git visible in git-status Radosław Warzocha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.