projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Teach packing about "tag" objects
[git.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index
5695c96
..
e27affb
100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-695,6
+695,9
@@
static int packed_object_info(struct pack_entry *entry,
case 'B':
strcpy(type, "blob");
break;
+ case 'G':
+ strcpy(type, "tag");
+ break;
default:
die("corrupted pack file");
}
@@
-807,6
+810,9
@@
static void *unpack_entry(struct pack_entry *entry,
case 'B':
strcpy(type, "blob");
break;
+ case 'G':
+ strcpy(type, "tag");
+ break;
default:
die("corrupted pack file");
}