Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: support for funky branch and project names over HTTP(S)
[gitweb.git]
/
builtin-pack-objects.c
diff --git
a/builtin-pack-objects.c
b/builtin-pack-objects.c
index 12509faa777bb2903e98c79a98be151380911b87..228040486e64525bbfa9af88eb8001d38eb7e1f7 100644
(file)
--- a/
builtin-pack-objects.c
+++ b/
builtin-pack-objects.c
@@
-989,7
+989,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;
}