From: Oleg Broytman Date: Fri, 9 Mar 2018 22:07:28 +0000 (+0300) Subject: Feat(ls-assumed): Recognize files with skip-worktree bit X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=68dcecea7c125ced02c18fa641c21ac5d3ce05aa;p=git-scripts.git Feat(ls-assumed): Recognize files with skip-worktree bit Recognize files with `git update-index --skip-worktree` in addition to `--assume-unchanged`. --- 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"'