Merge branch 'js/maint-all-implies-HEAD'
* js/maint-all-implies-HEAD: bundle: allow the same ref to be given more than once revision walker: include a detached HEAD in --all
This commit is contained in:
2
bundle.c
2
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];
|
||||
|
||||
Reference in New Issue
Block a user