summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-09-07 08:35:19 (GMT)
committerEric Wong <normalperson@yhbt.net>2014-09-14 08:08:24 (GMT)
commita831a3fd86bb7280020d650d52cce4af9e161c46 (patch)
treede9c50f947343bd9d3487410f9a3c4c1fa7f7c33 /Documentation
parent26bb3c10ef9a8fcd50cae12af13c677c5a17f0dd (diff)
downloadgit-a831a3fd86bb7280020d650d52cce4af9e161c46.zip
git-a831a3fd86bb7280020d650d52cce4af9e161c46.tar.gz
git-a831a3fd86bb7280020d650d52cce4af9e161c46.tar.bz2
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 'Documentation')
-rw-r--r--Documentation/git-svn.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 14036cf..ef8ef1c 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -386,11 +386,13 @@ Any other arguments are passed directly to 'git log'
tree-ish to specify which branch should be searched). When given a
tree-ish, returns the corresponding SVN revision number.
+
+-B;;
--before;;
Don't require an exact match if given an SVN revision, instead find
the commit corresponding to the state of the SVN repository (on the
current branch) at the specified revision.
+
+-A;;
--after;;
Don't require an exact match if given an SVN revision; if there is
not an exact match return the closest match searching forward in the