Created
November 29, 2011 11:10
-
-
Save geoffyoungs/1404436 to your computer and use it in GitHub Desktop.
Compare no of files changed in each version in git
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
#!/bin/bash | |
git tag | ruby -e 'a=b=nil;loop { a, b=ARGF.gets, a; a and b and (STDOUT << "#{a.strip} : ") and system("git diff --name-status #{b.strip} #{a.strip}| wc -l"); a.nil? and b.nil? and break }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment