summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2017-02-13 19:20:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-02-13 20:46:13 (GMT)
commit3ba042017a63492d8709b1991def43414ce87976 (patch)
treeee861f8652a528fae9915f873c462e4bf061b531 /contrib
parentfad9484f0aebc818112fb52270ebcddc768a7573 (diff)
downloadgit-3ba042017a63492d8709b1991def43414ce87976.zip
git-3ba042017a63492d8709b1991def43414ce87976.tar.gz
git-3ba042017a63492d8709b1991def43414ce87976.tar.bz2
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index d2601ae..66d8474 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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
;;