[git-users] Re: untracked files not shown when using 'git status'

2015-11-30 Thread Kurt Vermeiren
I would agree with Matthew on this. I understand the rationale to not show 
the files because of the possible very big directories... but the 
documentation clearly states "directories and files"

On Friday, 27 November 2015 17:16:30 UTC+1, Kurt Vermeiren wrote:
>
> In our project we have 4 untracked files, for local development. 
>
> Output of *git status *:
>
> Untracked files:
>   (use "git add ..." to include in what will be committed)
>
> sdb-batch-web/src/main/webapp/WEB-INF/jboss-web.xml
> sdb-ear/src/main/application/
> sdb-services/src/main/webapp/WEB-INF/jboss-web.xml
> sdb-web/src/main/webapp/WEB-INF/jboss-web.xml
>
> Note the second line, only the directory is shown. 
>
> Output of *git status --untracked-files *:
>
> Untracked files:
>   (use "git add ..." to include in what will be committed)
>
> sdb-batch-web/src/main/webapp/WEB-INF/jboss-web.xml
> sdb-ear/src/main/application/META-INF/jboss-deployment-structure.xml
> sdb-services/src/main/webapp/WEB-INF/jboss-web.xml
> sdb-web/src/main/webapp/WEB-INF/jboss-web.xml
>
> What is the difference between both commands, our believe is the output 
> should be identical.
>
> We are on 2.6.3, OS is Ubuntu 14.04 LTS
>
> Cheers
> Kurt
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Re: untracked files not shown when using 'git status'

2015-11-30 Thread Konstantin Khomoutov
On Mon, 30 Nov 2015 02:00:02 -0800 (PST)
Kurt Vermeiren  wrote:

> I would agree with Matthew on this. I understand the rationale to not
> show the files because of the possible very big directories... but
> the documentation clearly states "directories and files"

I don't.  Not quite; here's my line of reasoning.

Let's cite the doc again:

| ·   no - Show no untracked files. 
| ·   normal - Shows untracked files and directories. 
| ·   all - Also shows individual files in untracked 
|   directories. 

While the formulation of the "normal" mode considered alone is indeed
open to interpretation ("what does «and directories» *really* stand
for?"), with the "all" mode thrown in, the picture is clear: if the
"all" mode «Also shows individual files in untracked directories» then
the other modes don't.

On the other hand, that's my interpretation.
If two other folks pereceive the doc the other way and get confused
this well might indicate the problem with the doc.
I'd suggest posting a dried out summary of our discussion on the main
Git list [1] and suggest a documentation update.

1. https://gist.github.com/tfnico/4441562

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.