diff --git a/git-find-keyword b/git-find-keyword new file mode 100755 index 0000000..a1c39fc --- /dev/null +++ b/git-find-keyword @@ -0,0 +1,7 @@ +#!/bin/bash + +# Finds commits that changed the number of occurrences of the keyword +git log -S"$1" -- . + +# Find commits that changed a line containing the keyword (interpreted as a regex) +#git grep $1 $(git rev-list --all)