Re: [PATCH v2] wt-status: Show ignored files in untracked dirs
- From
Antoine Pelisse <apelisse@gmail.com>
- Date
- Dec 28, 2012, 14:05 UTC
- Message-ID
- <CALWbr2yNR=K3MqBVe=sfSxPaJ+-A8utHBqoiHPHPLxr_9e9SVQ@mail.gmail.com>
- In-Reply-To
- <CALWbr2xmtvchR4G37-FzzgScKe4p4RjLc7=Pg8d4K6SWO7tGAQ@mail.gmail.com>
Hey Peff, I actually have an issue with the behavior we discussed (referenced as 1.A.)
Using the example from Michael's mail, I end up having this: $ git status --porcelain --ignored ?? .gitignore ?? x ?? y/ !! x.ignore-me !! y/
y/ is referred as untracked, because it contains untracked files, and then as ignored because it contains ignored files.
Showing it twice doesn't feel right though, so I guess we should only show "?? y/" with untracked=normal, and "!! y/foo.ignore-me" when using untracked=all
What do you think ?
On Thu, Dec 27, 2012 at 6:35 PM, Antoine Pelisse <apelisse@gmail.com> wrote:
Show 12 quoted lines
>> By "committed", I assume you meat that you have "dirA/unco" as an >> untracked file, and "dirA/committed" as a file in the index? > > Of course, > >> Thanks for putting this together. I agree with the expected output in >> each case, and I think this covers the cases we have seen (case 1 is >> Michael's original report, case 2 is what I wrote in my mail, and case 3 >> is the one you just came up with). I can't think offhand of any others. > > Great, so I can build some tests reflecting those behaviors while > waiting more inputs