about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-01-08T20·15-0500
committerWilliam Carroll <wpcarro@gmail.com>2018-01-08T20·15-0500
commit45ac022da21a76ea38e4d2563d6929324fbd7eba (patch)
tree308ca9d44b8c6f6a1a46572ac4326303ca2532db
parentcf4b300845cb0fc31fdfa36099050c69c036bc7e (diff)
Support git patch searching with patch-grep
-rw-r--r--configs/shared/.gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/shared/.gitconfig b/configs/shared/.gitconfig
index 8d62d1e610c3..ffe42ef9b793 100644
--- a/configs/shared/.gitconfig
+++ b/configs/shared/.gitconfig
@@ -8,6 +8,7 @@
 	changed-files = 
 	conflicts = diff --name-only --diff-filter=U
 	yday = ! git log --name-only --since=yesterday.midnight --until=today.midnight --author=\"$(git config --get user.email)\"
+	patch-grep = log -p -S
 [commit]
 	gpgsign = true
 [gpg]