Merge branch 'jk/fetch-pack' into maint
[gitweb.git] / contrib / completion / git-completion.bash
index b8929084d079ef29987f7074dfb926f923b7697e..485619c2603e15222605bd3f19fa78bd2001dc5b 100644 (file)
@@ -1302,7 +1302,7 @@ _git_gitk ()
 }
 
 __git_match_ctag() {
-       awk "/^${1////\\/}/ { print \$1 }" "$2"
+       awk "/^${1//\//\\/}/ { print \$1 }" "$2"
 }
 
 _git_grep ()