From 68dcecea7c125ced02c18fa641c21ac5d3ce05aa Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 10 Mar 2018 01:07:28 +0300 Subject: [PATCH] Feat(ls-assumed): Recognize files with skip-worktree bit Recognize files with `git update-index --skip-worktree` in addition to `--assume-unchanged`. --- ls-assumed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls-assumed b/ls-assumed index 2ca55c9..bfbfdc3 100755 --- a/ls-assumed +++ b/ls-assumed @@ -2,4 +2,4 @@ exec "`dirname \"$0\"`"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git ls-files -v | grep ^h`" && echo "$d"' + 'test -n "`git ls-files -v | grep ^[a-z]`" && echo "$d"' -- 2.39.5