Created
May 7, 2010 09:55
-
-
Save KushalP/393244 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# replace HEAD with your revision number | |
# replace 80 with your char limit | |
git rev-list HEAD |\ | |
xargs -iX sh -c\ | |
"if test \"\$(git show --quiet --pretty=format:%s%n%n%b X | wc -c)\" -lt 80; then echo X; fi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment