Skip to content

Commit 3ba0420

Browse files
szedergitster
authored andcommitted
completion: restore removed line continuating backslash
Recent commit 1cd23e9 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fad9484 commit 3ba0420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ _git_config ()
20102010
remote.*.push)
20112011
local remote="${prev#remote.}"
20122012
remote="${remote%.push}"
2013-
__gitcomp_nl "$(__git for-each-ref
2013+
__gitcomp_nl "$(__git for-each-ref \
20142014
--format='%(refname):%(refname)' refs/heads)"
20152015
return
20162016
;;

0 commit comments

Comments
 (0)