From f1533d0486cb668f6ca3b841467404e695faef5f Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Tue, 9 Oct 2012 11:08:20 -0500 Subject: [PATCH] Changing ls-files to grep all files and not just modified --- git/gitconfig.symlink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 46c2818..04d26a8 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -32,7 +32,7 @@ # 'diff grep' dg = "!sh -c 'git ls-files -m | grep $1 | xargs git diff' -" # diff grep changes between two commits - dgc = "!sh -c 'git ls-files -m | grep $1 | xargs git diff $2 $3 -- ' -" + dgc = "!sh -c 'git ls-files | grep $1 | xargs git diff $2 $3 -- ' -" # 'checkout grep' cg = "!sh -c 'git ls-files -m | grep $1 | xargs git checkout ' -" # add grep