{"thread":{"id":"37071","subject":"Potential bug in ls-files (version 1.7.9.5)","startedAt":"2014-07-07T21:46:02Z","lastAt":"2014-07-07T22:22:40Z","messageCount":2,"participants":["Hamilton Turner","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"245495","messageId":"CAFow3A_f+nPCR1zqS9WdH1V9pNdSP=zRNt2UxbHpOz1d6miQEg@mail.gmail.com","threadId":"37071","inReplyTo":null,"subject":"Potential bug in ls-files (version 1.7.9.5)","fromName":"Hamilton Turner","fromEmail":"hamiltont@gmail.com","sentAt":"2014-07-07T21:46:02Z","receivedAt":"2014-07-07T21:46:02Z","isPatch":false,"sender":{"key":"hamiltont@gmail.com","avatar":null},"body":"I'd appreciate if someone could confirm that this is a bug in git, as this works\nas expected with git 1.8.5.2.\n\nI'm not sure if this 1.7.X is still supported, but I think it's still\nthe latest git-core available\nin Ubuntu 12.04 repositories.\n\nI'm having problems with git ls-files --others --ignored\n--exclude-standard not listing some ignored files.\n\nMy project has this directory structure\n\n.\n├── aspnet\n│   ├── .gitignore\n│   ├── __init__.py\n│   ├── lib\n│   │   ├── <lots of big stuff>\n\nMy aspnet/.gitignore lists lib/*, and git add aspnet/lib/foo reports\nthat this path is ignored.\n\nBut git ls-files --others --ignored --exclude-standard does not list\nthe files under lib. These are untracked files, they do show up in\noutput if I do git ls-files --others, but not if I provide the ignored\nflag.\n\nWith 1.8.5.2, all of the files under lib are listed if I ls-files\n--ignored --others --exclude-standard\n\nTracks http://stackoverflow.com/questions/24620108/show-all-ignored-files-in-git\n\nThanks,\n"},{"id":"245499","messageId":"20140707222240.GA12427@google.com","threadId":"37071","inReplyTo":"CAFow3A_f+nPCR1zqS9WdH1V9pNdSP=zRNt2UxbHpOz1d6miQEg@mail.gmail.com","subject":"Re: Potential bug in ls-files (version 1.7.9.5)","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2014-07-07T22:22:40Z","receivedAt":"2014-07-07T22:22:40Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Hamilton,\n\nHamilton Turner wrote:\n\n> My project has this directory structure\n> \n> .\n> ├── aspnet\n> │   ├── .gitignore\n> │   ├── __init__.py\n> │   ├── lib\n> │   │   ├── <lots of big stuff>\n> \n> My aspnet/.gitignore lists lib/*, and git add aspnet/lib/foo reports\n> that this path is ignored.\n> \n> But git ls-files --others --ignored --exclude-standard does not list\n> the files under lib. These are untracked files, they do show up in\n> output if I do git ls-files --others, but not if I provide the ignored\n> flag.\n> \n> With 1.8.5.2, all of the files under lib are listed if I ls-files\n> --ignored --others --exclude-standard\n\nThis was probably fixed by v1.7.11.2~12^2~5 (ls-files -i: pay\nattention to exclusion of leading paths, 2012-06-01).\n\n[...]\n> I'm not sure if this 1.7.X is still supported, but I think it's still\n> the latest git-core available\n> in Ubuntu 12.04 repositories.\n\nI haven't had much luck in the past working with the Ubuntu\nmaintainers to update old releases. :(\n\nhttps://launchpad.net/~git-core/+archive/ppa may help if PPAs are\nusable in your environment.\n\nThanks and hope that helps,\nJonathan\n"}]}