greg woodfill

about | github | linkedin

Speeding up git-svn

Git-svn has been an essential part of my workflow for about a year since I last worked on a pure fit project. Using it on a huge monolithic repo can be unbearably slow on the initial clone and subsequent fetches

Running

git fetch|clone --log-window-size=1000

will cause git to fetch svn commits of blocks of 1000 instead of the default 100. You can specify to your liking, though it may cause heap or timeout issues if set too large.