diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-25 17:13:02 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-25 17:13:02 -0800 |
commit | f18e6bef23809d2823c1a687f375b22c6af0e735 (patch) | |
tree | 3b9c79bbd3307ca49a36b142435937db12dbb2b8 /bundle.c | |
parent | 45099df6d7d83b30300f8efa3f6b831d6132c687 (diff) | |
parent | b2a6d1c6868b6d5e7d2b4fa9129341220a1e848a (diff) | |
download | git-f18e6bef23809d2823c1a687f375b22c6af0e735.tar.gz |
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
Diffstat (limited to 'bundle.c')
-rw-r--r-- | bundle.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]; |