chiark / gitweb /
srcdump: git: Do not include ~ files in .git
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Oct 2015 00:36:46 +0000 (00:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Oct 2015 00:36:46 +0000 (00:36 +0000)
Eg, COMMIT_EDITMSG~.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cgi-auth-flexible.pm

index 21805cf..d4c740c 100644 (file)
@@ -482,7 +482,7 @@ sub new_verifier {
            srcdump_vcsscript => {git => "
                  git ls-files -z
                  git ls-files -z --others --exclude-from=.gitignore
-                 find .git -print0
+                 find .git ! -name \\*~ -print0
                             "},
            srcdump_byvcs => \&srcdump_byvcs,
            srcdump_novcs => \&srcdump_novcs,