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

2012-12-17 Thread Junio C Hamano
Manlio Perillo writes: > Il 17/12/2012 05:54, Junio C Hamano ha scritto: >> Manlio Perillo 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. >>> >>>

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

2012-12-17 Thread Junio C Hamano
Manlio Perillo 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 i

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 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, in

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

2012-12-16 Thread Junio C Hamano
Manlio Perillo 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 > --- Did you miss the different handling between blobs and

[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 --- contrib/completion/git-completion.bash | 15 +-- 1 file changed, 1 insertion(