* Potential bug in ls-files (version 1.7.9.5)
@ 2014-07-07 21:46 Hamilton Turner
2014-07-07 22:22 ` Jonathan Nieder
0 siblings, 1 reply; 2+ messages in thread
From: Hamilton Turner @ 2014-07-07 21:46 UTC (permalink / raw)
To: git
I'd appreciate if someone could confirm that this is a bug in git, as this works
as expected with git 1.8.5.2.
I'm not sure if this 1.7.X is still supported, but I think it's still
the latest git-core available
in Ubuntu 12.04 repositories.
I'm having problems with git ls-files --others --ignored
--exclude-standard not listing some ignored files.
My project has this directory structure
.
├── aspnet
│ ├── .gitignore
│ ├── __init__.py
│ ├── lib
│ │ ├── <lots of big stuff>
My aspnet/.gitignore lists lib/*, and git add aspnet/lib/foo reports
that this path is ignored.
But git ls-files --others --ignored --exclude-standard does not list
the files under lib. These are untracked files, they do show up in
output if I do git ls-files --others, but not if I provide the ignored
flag.
With 1.8.5.2, all of the files under lib are listed if I ls-files
--ignored --others --exclude-standard
Tracks http://stackoverflow.com/questions/24620108/show-all-ignored-files-in-git
Thanks,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Potential bug in ls-files (version 1.7.9.5)
2014-07-07 21:46 Potential bug in ls-files (version 1.7.9.5) Hamilton Turner
@ 2014-07-07 22:22 ` Jonathan Nieder
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Nieder @ 2014-07-07 22:22 UTC (permalink / raw)
To: Hamilton Turner; +Cc: git
Hi Hamilton,
Hamilton Turner wrote:
> My project has this directory structure
>
> .
> ├── aspnet
> │ ├── .gitignore
> │ ├── __init__.py
> │ ├── lib
> │ │ ├── <lots of big stuff>
>
> My aspnet/.gitignore lists lib/*, and git add aspnet/lib/foo reports
> that this path is ignored.
>
> But git ls-files --others --ignored --exclude-standard does not list
> the files under lib. These are untracked files, they do show up in
> output if I do git ls-files --others, but not if I provide the ignored
> flag.
>
> With 1.8.5.2, all of the files under lib are listed if I ls-files
> --ignored --others --exclude-standard
This was probably fixed by v1.7.11.2~12^2~5 (ls-files -i: pay
attention to exclusion of leading paths, 2012-06-01).
[...]
> I'm not sure if this 1.7.X is still supported, but I think it's still
> the latest git-core available
> in Ubuntu 12.04 repositories.
I haven't had much luck in the past working with the Ubuntu
maintainers to update old releases. :(
https://launchpad.net/~git-core/+archive/ppa may help if PPAs are
usable in your environment.
Thanks and hope that helps,
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-07 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-07 21:46 Potential bug in ls-files (version 1.7.9.5) Hamilton Turner
2014-07-07 22:22 ` Jonathan Nieder
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.