summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-09-07 08:35:19 +0000
committerEric Wong <normalperson@yhbt.net>2014-09-14 08:08:24 +0000
commita831a3fd86bb7280020d650d52cce4af9e161c46 (patch)
treede9c50f947343bd9d3487410f9a3c4c1fa7f7c33 /git-svn.perl
parent26bb3c10ef9a8fcd50cae12af13c677c5a17f0dd (diff)
downloadgit-a831a3fd86bb7280020d650d52cce4af9e161c46.tar.gz
git svn: find-rev allows short switches for near matches
Allow -B and -A to act as short aliases for --before and --after options respectively. This reduces typing and hopefully allows reuse of muscle memory for grep(1) users. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 40565cd6eb..97ff562843 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -260,8 +260,8 @@ my %cmd = (
} ],
'find-rev' => [ \&cmd_find_rev,
"Translate between SVN revision numbers and tree-ish",
- { 'before' => \$_before,
- 'after' => \$_after } ],
+ { 'B|before' => \$_before,
+ 'A|after' => \$_after } ],
'rebase' => [ \&cmd_rebase, "Fetch and rebase your working directory",
{ 'merge|m|M' => \$_merge,
'verbose|v' => \$_verbose,