]> 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 a7837d217f2496ca187a820b9ff3208afe13f6a4..afaa3e757cfb9ce77517230c97faa4e67c157768 100755 (executable)
@@ -1,3 +1,4 @@
 #! /bin/sh
-(locate -b \\.git && locate -b *.git) | sort | uniq |
-   sed 's!/\.git$!!' >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