diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-12-15 23:58:08 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-16 05:17:56 -0800 |
commit | 3289e86e1eb4f38b5c8dfd2f44b4486d2755d6d6 (patch) | |
tree | a8c683dd21bfb94a3b46c6ab851196aeadcbd005 /git-svn.perl | |
parent | b9c8518722687fae6182162f9a244915ba94db02 (diff) | |
download | git-3289e86e1eb4f38b5c8dfd2f44b4486d2755d6d6.tar.gz git-3289e86e1eb4f38b5c8dfd2f44b4486d2755d6d6.tar.xz |
git-svn: rename 'commit' command to 'set-tree'
'set-tree' probably accurately describes what the command
formerly known as 'commit' does.
I'm not entirely sure that 'dcommit' should be renamed to 'commit'
just yet... Perhaps 'push' or 'push-changes'?
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/git-svn.perl b/git-svn.perl index 077e9200b..07748bc3e 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -107,7 +107,12 @@ my %cmd = ( init => [ \&init, "Initialize a repo for tracking" . " (requires URL argument)", \%init_opts ], - commit => [ \&commit, "Commit git revisions to SVN", + dcommit => [ \&dcommit, 'Commit several diffs to merge with upstream', + { 'merge|m|M' => \$_merge, + 'strategy|s=s' => \$_strategy, + 'dry-run|n' => \$_dry_run, + %cmt_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", { 'revision|r=i' => \$_revision } ], @@ -150,11 +155,6 @@ my %cmd = ( 'file|F=s' => \$_file, 'revision|r=s' => \$_revision, %cmt_opts } ], - dcommit => [ \&dcommit, 'Commit several diffs to merge with upstream', - { 'merge|m|M' => \$_merge, - 'strategy|s=s' => \$_strategy, - 'dry-run|n' => \$_dry_run, - %cmt_opts } ], ); my $cmd; |