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

2 messages from 2006-12-22 to 2006-12-23. Participants: Nicolas Vilz, Eric Wong.
Thread: https://gitlist.dev/t/6078

## Nicolas Vilz, 2006-12-22 12:28

Subject: git-svn dcommit ignors svn.authorsfile config and -A / --author-file cmd-line-option
Message-ID: <20061222122836.GD9595@hermes>
URL: https://gitlist.dev/e/20061222122836.GD9595%40hermes

```
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

```

## Eric Wong, 2006-12-23 05:59

Subject: [PATCH] git-svn: enable common fetch/commit options for dcommit
Message-ID: <20061223055923.GA10460@localdomain>
URL: https://gitlist.dev/e/20061223055923.GA10460%40localdomain
In-Reply-To: <20061222122836.GD9595@hermes>

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

Reported missing by Nicolas Vilz.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 git-svn.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-svn.perl b/git-svn.perl
index 07748bc..4288a05 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -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",
-- 
1.4.4.3.gc902c

```
