Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/git-log-doc'
[gitweb.git]
/
builtin-pack-objects.c
diff --git
a/builtin-pack-objects.c
b/builtin-pack-objects.c
index 545ece5da75672f435d018ccb534bc8c342bbf3d..4f446588ac9ce9d8aa50d0c288817a16855422e6 100644
(file)
--- a/
builtin-pack-objects.c
+++ b/
builtin-pack-objects.c
@@
-990,7
+990,7
@@
static void add_pbase_object(struct tree_desc *tree,
return;
if (name[cmplen] != '/') {
add_object_entry(entry.sha1,
-
S_ISDIR(entry.mode) ? OBJ_TREE : OBJ_BLOB
,
+
object_type(entry.mode)
,
fullname, 1);
return;
}