Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rebase-i-p: only list commits that require rewriting in todo
[gitweb.git]
/
index-pack.c
diff --git
a/index-pack.c
b/index-pack.c
index c45ae20e8ffacefa43c5d0ab9daf0ff6ef181d4a..2a366206a4e830d0bb66d6ac708cd512a94d6d37 100644
(file)
--- a/
index-pack.c
+++ b/
index-pack.c
@@
-707,6
+707,7
@@
static struct object_entry *append_obj_to_pack(struct sha1file *f,
obj[1].idx.offset = obj[0].idx.offset + n;
obj[1].idx.offset += write_compressed(f, buf, size);
obj[0].idx.crc32 = crc32_end(f);
+ sha1flush(f);
hashcpy(obj->idx.sha1, sha1);
return obj;
}