{"thread":{"id":"32033","subject":"git ls-files --ignored and ignored directory","startedAt":"2012-11-06T21:19:05Z","lastAt":"2012-11-06T21:24:45Z","messageCount":2,"participants":["Damien Robert"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"202602","messageId":"k7bus9$o9t$1@ger.gmane.org","threadId":"32033","inReplyTo":null,"subject":"git ls-files --ignored and ignored directory","fromName":"Damien Robert","fromEmail":"damien.olivier.robert+gmane@gmail.com","sentAt":"2012-11-06T21:19:05Z","receivedAt":"2012-11-06T21:19:05Z","isPatch":false,"sender":{"key":"damien.olivier.robert+gmane@gmail.com","avatar":null},"body":"I would like to use git ls-files to show all the ignored files, including\ndirectory.\n\nAs an example of setup:\n\nmkdir /tmp/git && cd /tmp/git\ngit init\nmkdir a b\ntouch a/a\ntouch b/b\ncat >.gitignore << EOF\na/\nb/*\nEOF\n\nThen if I do:\n$ git ls-files --exclude-standard --ignored --others\nb/b\n$ git ls-files --exclude-standard --ignored --others --directory\na/\n\nIn the first case I was expecting\na/a\nb/b\nand in the second case\na/\nb/\n\nIs there a way to get the behavior I'd like? Thanks!\n"},{"id":"202603","messageId":"k7bv6s$ujm$1@ger.gmane.org","threadId":"32033","inReplyTo":"k7bus9$o9t$1@ger.gmane.org","subject":"Re: git ls-files --ignored and ignored directory","fromName":"Damien Robert","fromEmail":"damien.olivier.robert+gmane@gmail.com","sentAt":"2012-11-06T21:24:45Z","receivedAt":"2012-11-06T21:24:45Z","isPatch":false,"sender":{"key":"damien.olivier.robert+gmane@gmail.com","avatar":null},"body":"Damien Robert  wrote in message <k7bus9$o9t$1@ger.gmane.org>:\n> I would like to use git ls-files to show all the ignored files, including\n> directory.\n> Is there a way to get the behavior I'd like? Thanks!\n\nI forgot to add that this is with version 1.8.0, I haven't tried with\ncurrent master.\n\n$ git --version\ngit version 1.8.0\n"}]}