From 8a5756fada2f40c69404087f502480ba6b08fc12 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 Oct 2015 00:36:46 +0000 Subject: [PATCH] srcdump: git: Do not include ~ files in .git Eg, COMMIT_EDITMSG~. Signed-off-by: Ian Jackson --- cgi-auth-flexible.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index 21805cf..d4c740c 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -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, -- 2.30.2