threads / discuss / 6078

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

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

## tl;dr

2 messages between Dec 22, 2006 and Dec 23, 2006.

replies: 1people: 2as markdown or json

Nicolas Vilz· Dec 22, 2006, 12:28 UTC · lore
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· Dec 23, 2006, 05:59 UTC · re: Nicolas Vilz · lore

[PATCH] 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.
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

← back to recent threads