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.