]> git.phdru.name Git - git-scripts.git/blobdiff - locate-all
Feat(ls-assumed): Recognize files with skip-worktree bit
[git-scripts.git] / locate-all
index fb9d0d550c00e62fa700f859467ccb683ef39dad..afaa3e757cfb9ce77517230c97faa4e67c157768 100755 (executable)
@@ -1,3 +1,4 @@
 #! /bin/sh
-(locate -b \\.git && locate -b \*.git) | sed 's!/\.git$!!' |
-   sort | uniq >locate-all.list
+locate -b \*.git | sed 's!/\.git$!!' |
+   grep -v "/archive/SQLObject/\|/archive/cheetah3/\|/third-party/\|$HOME/tmp/" |
+   LC_ALL=C sort | uniq > locate-all.list