git-svn, copies and empty dirs

Up to now, when working on sunrise with git-svn, I faced two minor issues that it didn’t handle nicely.

a) When copying stuff from sunrise/ to reviewed/ so that it goes out via layman, the file was added although it was merged.

b) It left empty dirs behind when I kicked an app (as it went over to gentoo-x86)

After reading a bunch of mailinglists and forums posts, I finally had a working solution. Just add these lines to .git/config file:

[diff]
renames = copies
[svn]
findcopiesharder = 1
rmdir = 1