diff --git a/bin/git-vendor b/bin/git-vendor index acbaf1d..2618673 100755 --- a/bin/git-vendor +++ b/bin/git-vendor @@ -138,12 +138,12 @@ cmd_list() if [ ! -z "$repository" ]; then if [ -z "$showOnly" -o "$showOnly" = "$name" ]; then - printf "$name@$ref:\n" - printf "\tname:\t$name\n" - printf "\tdir:\t$dir\n" - printf "\trepo:\t$repository\n" - printf "\tref:\t$ref\n" - printf "\tcommit:\t$commit\n" + printf "%s@%s:\n" "$name" "$ref" + printf "\tname:\t%s\n" "$name" + printf "\tdir:\t%s\n" "$dir" + printf "\trepo:\t%s\n" "$repository" + printf "\tref:\t%s\n" "$ref" + printf "\tcommit:\t%s\n" "$commit" printf "\n" fi fi