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>
Eric Wong committed
Feb 5, 2017 at 02:18 UTC
2cbad1764213b46057cd20028c4f7df0dad5a51f
1 file changed
+2
-2
contrib/completion/git-completion.bash
+2
-2
@@ -2587,14 +2587,14 @@ _git_svn ()
2587
--no-metadata --use-svm-props --use-svnsync-props
2588
--log-window-size= --no-checkout --quiet
2589
--repack-flags --use-log-author --localtime
2590
+ --add-author-from
2591
--ignore-paths= --include-paths= $remote_opts
2592
"
2593
local init_opts="
2594
--template= --shared= --trunk= --tags=
2595
--branches= --stdlayout --minimize-url
2596
--no-metadata --use-svm-props --use-svnsync-props
2596
- --rewrite-root= --prefix= --use-log-author
2597
- --add-author-from $remote_opts
2597
+ --rewrite-root= --prefix= $remote_opts
2598
"
2599
local cmt_opts="
2600
--edit --rmdir --find-copies-harder --copy-similarity=