From 6fdf035b547ba2ad96ef1bb8b615743a5ad666e5 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 30 May 2020 15:41:17 +0000 Subject: [PATCH] git2fl: Fix incremental import --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 825aa3d..90868e0 100644 --- a/zshrc +++ b/zshrc @@ -226,10 +226,10 @@ if which fossil &>/dev/null; then [ -n "$repo" -a -f "$repo" ] && local incremental="--incremental" - [ -d "$gitdir/git.marks" ] && + [ -f "$gitdir/git.marks" ] && local importmarks_git="--import-marks=$gitdir/git.marks" - if [ -d "$gitdir/fossil.marks" ]; then + if [ -f "$gitdir/fossil.marks" ]; then local importmarks_fossil importmarks_fossil="--import-marks $gitdir/fossil.marks" fi