Regression in git ls-files, or bug in completion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux