From 36c91259deb597dd931000602fc33fb63e5e40f4 Mon Sep 17 00:00:00 2001 From: Georg Fischer Date: Thu, 19 Feb 2009 00:27:22 +0100 Subject: [PATCH] dir subdir name bug with unversioned subdirs --- igit-enumfiles.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/igit-enumfiles.c b/igit-enumfiles.c index 319f9778cb..cf45b30b53 100644 --- a/igit-enumfiles.c +++ b/igit-enumfiles.c @@ -185,7 +185,7 @@ static void enum_unversioned(struct dir_entry **files, int nr, BOOL bIgnored) if (l_bDirStatus) { l_nLastStatus = WGFS_Ignored; - update_dirs_unversioned(ent, 0); + update_dirs_unversioned(ent, len); } fputs("F I 0000000000000000000000000000000000000000 ", stdout); @@ -196,7 +196,7 @@ static void enum_unversioned(struct dir_entry **files, int nr, BOOL bIgnored) { const int nOrgEmptyDirStatus = l_nEmptyDirStatus; l_nLastStatus = l_nEmptyDirStatus = WGFS_Ignored; - update_dirs_unversioned(ent, 0); + update_dirs_unversioned(ent, len); l_nEmptyDirStatus = nOrgEmptyDirStatus; } @@ -210,7 +210,7 @@ static void enum_unversioned(struct dir_entry **files, int nr, BOOL bIgnored) if (l_bDirStatus) { l_nLastStatus = WGFS_Unversioned; - update_dirs_unversioned(ent, 0); + update_dirs_unversioned(ent, len); } fputs("F U 0000000000000000000000000000000000000000 ", stdout); @@ -220,7 +220,7 @@ static void enum_unversioned(struct dir_entry **files, int nr, BOOL bIgnored) if (l_bDirStatus) { l_nLastStatus = l_nEmptyDirStatus; - update_dirs_unversioned(ent, 0); + update_dirs_unversioned(ent, len); } continue; -- 2.11.4.GIT