https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84368
--- Comment #3 from Benjamin Buch <benni.buch at gmail dot com> --- I'm on git commit a5283f322810189a156a0fb080bf6d65e6f7970e which should be R257627. I used: $ git svn find-rev $(git log --max-count 1 --pretty=format:%H) Migrating from a git-svn v1 layout... Data from a previous version of git-svn exists, but .git/svn (required for this version (2.7.4) of git-svn) does not exist. Done migrating from a git-svn v1 layout 257627 Hope this is the correct way to get the revision number. I will check if I can reproduce it with current trunk again.