Skip to contentSkip to conversation

git-svn dcommit ignors svn.authorsfile config and -A / --author-file cmd-line-option

PATCH New Nicolas Vilz 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello again,

I wonder, if git dcommit supports the option or the repo-config key svn.authors.file... i think it does not, or i do something wrong...

<username> = <name> <email>

did work on git-svn fetch iirc ... but does it on git-svn dcommit, too?

Sincerly
Nicolas

#1 lore raw

PATCH 1/1 git-svn: enable common fetch/commit options for dcommit

dcommit does commits and fetches, so all options used for those should work, too, including --authors-file.

Reported missing by Nicolas Vilz.

---
 git-svn.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-svn.perl +1 -1
index 07748bc..4288a05 100755
@@ -111,7 +111,7 @@ my %cmd = (
 			{ 'merge|m|M' => \$_merge,
 			  'strategy|s=s' => \$_strategy,
 			  'dry-run|n' => \$_dry_run,
-			%cmt_opts } ],
+			%cmt_opts, %fc_opts } ],
 	'set-tree' => [ \&commit, "Set an SVN repository to a git tree-ish",
 			{	'stdin|' => \$_stdin, %cmt_opts, %fc_opts, } ],
 	'show-ignore' => [ \&show_ignore, "Show svn:ignore listings",
Signature · 1 line
1.4.4.3.gc902c