-
-
Save Sjors/354d6c4751aede3dde49e407271d4391 to your computer and use it in GitHub Desktop.
PR review hacks
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
base=$(git rev-list -n1 --min-parents=2 HEAD) | |
while IFS= read rev; do | |
revs+=($rev) | |
done < <(git rev-list --reverse $base..HEAD) | |
i=1 | |
for r in "${revs[@]}"; do | |
git log -n1 --format="- [ ] %H %s ($i/${#revs[@]})" $r | |
((++i)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment