Well, ok.  Not very intuitive, so I added an alias in .gitconfig... 
'ls = ls-files --exclude-standard' and that seems to work now alright for me.

Thanks

----- Mail original -----
> De: "Matthieu Moy" <[email protected]>
> À: "Charles Bailey" <[email protected]>
> Cc: "Richard PALO" <[email protected]>, [email protected]
> Envoyé: Lundi 27 Octobre 2014 09:31:56
> Objet: Re: git ls-files -o seems to ignore .gitignore
> 
> Charles Bailey <[email protected]> writes:
> 
> > On Mon, Oct 27, 2014 at 07:16:49AM +0100, Richard PALO wrote:
> >> Hash: SHA1
> >> 
> >> I'm having an issue in that 'git ls-files -o' seems to ignore
> >> [parts of] .gitignore whereas other commands, such as 'git status'
> >> seem fine.
> >
> > This is, as far as I am aware, by design.
> 
> I would not call that "by design", but indeed "git ls" was written
> this
> way, and it's a plumbing command for which we do not want
> backward-incompatible changes. So, --exclude-standard is available,
> but
> not activated by default.
> 
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/
> 
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to