Skip to content

Commit

Permalink
git-find-keywpord
Browse files Browse the repository at this point in the history
  • Loading branch information
batterseapower committed Dec 20, 2010
1 parent ce210f2 commit 09829c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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)

0 comments on commit 09829c9

Please sign in to comment.