Re: [PATCH 15/16] list-files: delete redundant cached entries

2015-03-09 Thread Eric Sunshine
On Monday, March 9, 2015, Nguyễn Thái Ngọc Duy wrote: > When both --cached and one of -amdAMD is used together we may have two > entries of the same path, e.g. " foo" and "MM foo". In this case it's > pretty clear that "foo" must be tracked, no need to display " foo". > The new function does th

[PATCH 15/16] list-files: delete redundant cached entries

2015-03-09 Thread Nguyễn Thái Ngọc Duy
When both --cached and one of -amdAMD is used together we may have two entries of the same path, e.g. " foo" and "MM foo". In this case it's pretty clear that "foo" must be tracked, no need to display " foo". The new function does that. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-fil