completion: restore removed line continuating backslash
Recent commit 1cd23e9e0 (completion: don't use __gitdir() for git commands, 2017-02-03) rewrapped a couple of long lines, and while doing so it inadvertently removed a '\' from the end of a line, thus breaking completion for 'git config remote.name.push <TAB>'. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
Feb 13, 2017 at 20:20 UTC
3ba042017a63492d8709b1991def43414ce87976
1 file changed
+1
-1
contrib/completion/git-completion.bash
+1
-1
@@ -2010,7 +2010,7 @@ _git_config ()
2010
remote.*.push)
2011
local remote="${prev#remote.}"
2012
remote="${remote%.push}"
2013
- __gitcomp_nl "$(__git for-each-ref
2013
+ __gitcomp_nl "$(__git for-each-ref \
2014
--format='%(refname):%(refname)' refs/heads)"
2015
return
2016
;;