aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-05 02:18:57 +0000
committerJunio C Hamano <gitster@pobox.com>2017-02-06 10:40:39 -0800
commit2cbad1764213b46057cd20028c4f7df0dad5a51f (patch)
tree80d6ddf64790ea595f469da0af66a4c77647bc68 /contrib
parent3b9e3c2cede15057af3ff8076c45ad5f33829436 (diff)
downloadgit-2cbad1764213b46057cd20028c4f7df0dad5a51f.tar.gz
git-2cbad1764213b46057cd20028c4f7df0dad5a51f.tar.xz
completion: fix git svn authorship switches
--add-author-from and --use-log-author are for "git svn dcommit", not "git svn (init|clone)" Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 21016bf8d..e88b0d777 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2587,14 +2587,14 @@ _git_svn ()
--no-metadata --use-svm-props --use-svnsync-props
--log-window-size= --no-checkout --quiet
--repack-flags --use-log-author --localtime
+ --add-author-from
--ignore-paths= --include-paths= $remote_opts
"
local init_opts="
--template= --shared= --trunk= --tags=
--branches= --stdlayout --minimize-url
--no-metadata --use-svm-props --use-svnsync-props
- --rewrite-root= --prefix= --use-log-author
- --add-author-from $remote_opts
+ --rewrite-root= --prefix= $remote_opts
"
local cmt_opts="
--edit --rmdir --find-copies-harder --copy-similarity=