git-svn: add the 'dcommit' command
authorEric Wong <normalperson@yhbt.net>
Sat, 26 Aug 2006 07:01:23 +0000 (00:01 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Aug 2006 07:59:29 +0000 (00:59 -0700)
commitb22d449721b22f6ec090f22c418ae6b0a560f78d
tree49cd4fabbcef51bc387107bee09f1b49a6d9a7dc
parent2e93115ed84901fb8ee8447a1baf37cd8c343d8e
git-svn: add the 'dcommit' command

This is a high-level wrapper around the 'commit-diff' command
and used to produce cleaner history against the mirrored repository
through rebase/reset usage.

It's basically a more polished version of this:

for i in `git rev-list --no-merges remotes/git-svn..HEAD | tac`; do
git-svn commit-diff $i~1 $i
done
git reset --hard remotes/git-svn

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-svn.txt
git-svn.perl