# [Bug?] .git visible in git-status

1 messages from 2015-10-14 to 2015-10-14. Participants: Radosław Warzocha.
Thread: https://gitlist.dev/t/40556

## Radosław Warzocha, 2015-10-14 13:21

Subject: [Bug?] .git visible in git-status
Message-ID: <CAA4qsDT66o3ZTCsEoNQ_yP6O0fNgdMA=RZ8OWUMB-gp-A4pj0g@mail.gmail.com>
URL: https://gitlist.dev/e/CAA4qsDT66o3ZTCsEoNQ_yP6O0fNgdMA%3DRZ8OWUMB-gp-A4pj0g%40mail.gmail.com

```
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

```
