turon/git-rcs-keywords — pull request #13 by darktjm (2013-07-23 10:04:08+00:00)
Title: A few minor changes to make it work with my SVN-derived source

I use git repositories as public mirrors of my personal SVN. I use keyword substitution in documents and code. The patch I'm proposing first fixes a bug (whitespace not being stripped off end; at least I assume it's a bug, since it causes excess whitespace in the output) and makes the git log command more efficient (only dump the first log entry, not every single one). The second patch additionally parses out the git-svn commit ID and reformats $Id$ and $Date$ to be more like what SVN gives. This makes latex's rcs package's keyword parser work better.