Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index 4977962eb56cbdfee54d2d88c27008064dc13d0b..d0dd818b31faa04caa4d418a39ad3020a919aa2d 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-266,6
+266,8
@@
int create_bundle(struct bundle_header *header, const char *path,
return error("unrecognized argument: %s'", argv[i]);
}
+ object_array_remove_duplicates(&revs.pending);
+
for (i = 0; i < revs.pending.nr; i++) {
struct object_array_entry *e = revs.pending.objects + i;
unsigned char sha1[20];