Thread (73 messages) flat view 73 messages, 5 authors, 2016-06-15
STALE3730d

[PATCH 20/19] count-objects: consider .bitmap without .pack/.idx pair garbage

From: Nguyễn Thái Ngọc Duy <hidden>
Date: 2016-06-15 22:59:06
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
 Maybe squash this in some place, or leave it separate. I'm fine either way.

 sha1_file.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/sha1_file.c b/sha1_file.c
index 4714bd8..1294962 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1194,6 +1194,7 @@ static void prepare_packed_git_one(char *objdir, int local)
 
 		if (has_extension(de->d_name, ".idx") ||
 		    has_extension(de->d_name, ".pack") ||
+		    has_extension(de->d_name, ".bitmap") ||
 		    has_extension(de->d_name, ".keep"))
 			string_list_append(&garbage, path);
 		else
-- 
1.8.2.83.gc99314b
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help