Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug report; git tab-completion on macOS within paths containing unicode characters



On Mon, Apr 29, 2024 at 10:38 AM Jun. T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
> In __git_files (called from __git_other_files), 'git ls-files'
> is called two times.

Comments in the function indicate this is intentional:
  # If ls-files succeeded but returned nothing, try again with no pattern. Note
  # that ls-files defaults to the CWD if not given a path, so if the file we
  # were trying to add is in an *adjacent* directory, this won't return anything
  # helpful either




Messages sorted by: Reverse Date, Date, Thread, Author