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

2012-12-17 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 17/12/2012 05:54, Junio C Hamano ha scritto: Manlio Perillo manlio.peri...@gmail.com writes: The git-completion.bash script was using the git ls-tree command without the --name-only option, with a sed filter to parse path names; use the

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

2012-12-17 Thread Junio C Hamano
Manlio Perillo manlio.peri...@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

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

2012-12-17 Thread Junio C Hamano
Manlio Perillo manlio.peri...@gmail.com writes: Il 17/12/2012 05:54, Junio C Hamano ha scritto: Manlio Perillo manlio.peri...@gmail.com writes: The git-completion.bash script was using the git ls-tree command without the --name-only option, with a sed filter to parse path names; use the

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

2012-12-16 Thread Manlio Perillo
The git-completion.bash script was using the git ls-tree command without the --name-only option, with a sed filter to parse path names; use the --name-only option, instead. Signed-off-by: Manlio Perillo manlio.peri...@gmail.com --- contrib/completion/git-completion.bash | 15 +-- 1

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

2012-12-16 Thread Junio C Hamano
Manlio Perillo manlio.peri...@gmail.com writes: The git-completion.bash script was using the git ls-tree command without the --name-only option, with a sed filter to parse path names; use the --name-only option, instead. Signed-off-by: Manlio Perillo manlio.peri...@gmail.com --- Did you