Allow to rebase empty commits

Allow to rebase empty commits as requested in https://code.google.com/p/tortoisegit/issues/detail?id=2311
Now, I see.
Official git 346245a1bb6272dd370ba2f7b9bf86d3df5fed9a.