Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff --color-moved-ws: fix double free crash
[gitweb.git]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index 24cbe409863a83e8bda453af637c2237504a531d..14f2cfc24836b4a526df935e83d8e5899055f483 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-369,7
+369,7
@@
static int write_bundle_refs(int bundle_fd, struct rev_info *revs)
* commit that is referenced by the tag, and not the tag
* itself.
*/
- if (
oidcmp
(&oid, &e->item->oid)) {
+ if (
!oideq
(&oid, &e->item->oid)) {
/*
* Is this the positive end of a range expressed
* in terms of a tag (e.g. v2.0 from the range