From 2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 31 Aug 2008 16:09:08 +0000 Subject: Frank Terbeck: 25561: fix quoting with aliases. --- ChangeLog | 3 +++ Completion/Unix/Command/_git | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d548eefae..44d897154 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-08-31 Clint Adams + * Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting + with aliases. + * Mikael Magnusson: 25564: Completion/Unix/Command/_git: suppress error output in __git_is_treeish. diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 1ec948047..ae33de0fd 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -4290,7 +4290,7 @@ if (( CURRENT >= 3 )) && [[ -n ${git_aliases[$words[2]]} ]] ; then if [[ -z "${words[3,-1]}" ]] ; then tmpwords[$(( ${#tmpwords} + 1 ))]="" else - tmpwords+=("${words[3,-1]}") + tmpwords+=(${words[3,-1]}) fi words=("${tmpwords[@]}") (( CURRENT += ${#${(z)git_aliases[$words[2]]}} - 1 )) -- cgit v1.2.3-70-g09d2