OSDN Git Service

completion: restore removed line continuating backslash
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 13 Feb 2017 19:20:36 +0000 (20:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2017 20:46:13 +0000 (12:46 -0800)
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>
contrib/completion/git-completion.bash

index d2601ae..66d8474 100644 (file)
@@ -2010,7 +2010,7 @@ _git_config ()
        remote.*.push)
                local remote="${prev#remote.}"
                remote="${remote%.push}"
-               __gitcomp_nl "$(__git for-each-ref
+               __gitcomp_nl "$(__git for-each-ref \
                        --format='%(refname):%(refname)' refs/heads)"
                return
                ;;