Skip to content

Instantly share code, notes, and snippets.

View Ronnie76er's full-sized avatar
💕
Welp

Ron Alleva Ronnie76er

💕
Welp
View GitHub Profile
#!/bin/sh
#
# git-create-review
# Generates a diff based on a grep in the comments of the commits
REV_NUMS=`git log --grep=$1 --oneline -i --reverse | awk '{print $1;}'`
for revhash in $REV_NUMS; do
PREV_SVN_REV=`git svn find-rev $revhash^`
SVN_REV=`git svn find-rev $revhash`