Code

git-svn: enable common fetch/commit options for dcommit
authorEric Wong <normalperson@yhbt.net>
Sat, 23 Dec 2006 05:59:24 +0000 (21:59 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 23 Dec 2006 07:14:58 +0000 (23:14 -0800)
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>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl

index 07748bc3e3f4091613c8e78647a471ac21ee46d2..4288a05c166b0b75bba387c099daa8622fea487a 100755 (executable)
@@ -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",