From da58498b13d3492b1532ac56d81c4765251d104a Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 30 Aug 2017 01:38:50 +0200 Subject: [PATCH] git-fsck-all: skip .sync directories --- git-fsck-all | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-fsck-all b/git-fsck-all index 69b5af9..2cef177 100755 --- a/git-fsck-all +++ b/git-fsck-all @@ -15,6 +15,8 @@ import subprocess def git_directories(startdir): for dirpath, dirnames, _ in os.walk(startdir): + if '.sync' in dirpath: + continue if set(['info', 'objects', 'refs']).issubset(set(dirnames)): yield dirpath