Created
August 30, 2011 09:52
-
-
Save Ajnasz/1180568 to your computer and use it in GitHub Desktop.
Get svn revision number from git svn log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --grep=... --format=format:%b | awk '/@/ {print gensub(/^.*@([0-9]+).*$/, "\\1", 1)}' | sort -n | tr '\n' ',' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment