summaryrefslogtreecommitdiff
path: root/Documentation/git-svn.txt
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-12-12 22:47:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-12-13 01:07:05 (GMT)
commitdd31da2fdc199132c9fd42023aea5b33672d73cc (patch)
tree831ff6322e4774e5c68407fbb8d59c4b4d9244c9 /Documentation/git-svn.txt
parentd2a9a87b8a98e3b3797c6c1e5aa2269f36c2b47a (diff)
downloadgit-dd31da2fdc199132c9fd42023aea5b33672d73cc.zip
git-dd31da2fdc199132c9fd42023aea5b33672d73cc.tar.gz
git-dd31da2fdc199132c9fd42023aea5b33672d73cc.tar.bz2
git-svn: allow dcommit to take an alternate head
Previously dcommit would unconditionally commit all patches up-to and including the current HEAD. Now if an optional command-line argument is specified, it will only commit up to the specified revision. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-svn.txt')
-rw-r--r--Documentation/git-svn.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index a45067e..c589a98 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -57,11 +57,13 @@ See '<<fetch-args,Additional Fetch Arguments>>' if you are interested in
manually joining branches on commit.
'dcommit'::
- Commit all diffs from the current HEAD directly to the SVN
+ Commit all diffs from a specified head directly to the SVN
repository, and then rebase or reset (depending on whether or
- not there is a diff between SVN and HEAD). It is recommended
+ not there is a diff between SVN and head). It is recommended
that you run git-svn fetch and rebase (not pull) your commits
against the latest changes in the SVN repository.
+ An optional command-line argument may be specified as an
+ alternative to HEAD.
This is advantageous over 'commit' (below) because it produces
cleaner, more linear history.