Created
January 25, 2012 17:09
-
-
Save travist/1677353 to your computer and use it in GitHub Desktop.
Determine the diff provided a Story ID.
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 "Merge pull request.*{INSERT STORY ID HERE}" -B 5\ | |
| awk '{\ | |
if ($1=="commit") {\ | |
print system("git diff " $2 "^ " $2);\ | |
}\ | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment