git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-completion.bash: update obsolete code.

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 17, 2012, 20:29 UTC
Message-ID
<7v6240l8w6.fsf@alter.siamese.dyndns.org>
In-Reply-To
<50CF4E05.7050103@gmail.com>
Manlio Perillo <manlio.perillo@gmail.com> writes:
> By the way, IMHO there should be an option for adding a slash to
> directory names in ls-tree.

I am not sure about that; ls-tree is meant to be used by scripts that are capable of doing that kind of thing themselves.

If we were to add an option to add a slash, I think it should be modeled after "ls -F", whose output is meant for humans and no sane scripts would read from it. It is very likely that such an option should add @ at the end of the name for a symbolic link, so it won't be useful for your patch.

Previous: Manlio PerilloNext: Junio C Hamano
Message 4 of 5 in “git-completion.bash: update obsolete code.”
  1. git-completion.bash: update obsolete code.Manlio Perillo, Dec 16, 2012
  2. Junio C HamanoDec 17, 2012
  3. Manlio PerilloDec 17, 2012
  4. Junio C HamanoDec 17, 2012
  5. Junio C HamanoDec 18, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.