although I haven't been able to put my finger on it, git-log must have changed between Debian's 2.1.4 and Fedora's 2.5.something. The previous version worked on Fedora but not on Debian; hopefully this solution is more robust.