Skip to contentSkip to conversation

completion: fix git svn authorship switches

PATCH New Eric Wong 1 participant 1 message Feb 5, 2017

lore
Share & tools
lore

Eric Wong

author
#0 lore raw

PATCH 1/1 completion: fix git svn authorship switches

--add-author-from and --use-log-author are for "git svn dcommit", not "git svn (init|clone)"

---
 contrib/completion/git-completion.bash | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Though, I now wonder if allowing those switches to write changes in $GIT_CONFIG at init/clone time makes sense...

contrib/completion/git-completion.bash +2 -2
index 97d73ad88f..6990e98c44 100644
@@ -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=
Signature · 1 line
EW