contrib/git-svn: optimize sequential commits to svn
commite17512f3de13b6af24672822b703ee54aa057582
authorEric Wong <normalperson@yhbt.net>
Sun, 26 Feb 2006 10:22:27 +0000 (26 02:22 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 26 Feb 2006 23:02:45 +0000 (26 15:02 -0800)
tree39ded9171c3bab5d4c8d2d41fad02493cfd06e19
parent8f22562c6bfa413c621517dd654b58ed39e98045
contrib/git-svn: optimize sequential commits to svn

Avoid running 'svn up' to a previous revision if we know the
revision we just committed is the first descendant of the
revision we came from.

This reduces the time to do a series of commits by about 25%.

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