Regression in git ls-files, or bug in completion?
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Mar 22, 2020, 23:39 UTC
- Message-ID
- <CAMP44s2XuXrgBztke50YgnZ1SQh6gvR6cdLz064xDDK3+s2CSA@mail.gmail.com>
Hi,
I noticed a possible regression caused by commit b9670c1f5e (dir: fix checks on common prefix directory).
What is supposed to be the output of this?
git init mkdir simple-dir touch simple-dir/empty git -C simple-dir ls-files --other --directory
Before it was "empty", now it is "./".
This causes bash's completion to be botched; "git add simple-dir/" adds "simple-dir/./".
Cheers.
-- Felipe Contreras