diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-06-01 15:06:40 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-01 15:06:40 +0900 |
commit | 95dd4b2b14db912b482320c0a69518e77e7af19a (patch) | |
tree | 2669be208ec8d5660fa69ebda9006e16a0abd3d7 /sequencer.c | |
parent | Merge branch 'rd/tag-doc-lightweight' (diff) | |
parent | sequencer: ensure labels that are object IDs are rewritten (diff) | |
download | tgif-95dd4b2b14db912b482320c0a69518e77e7af19a.tar.xz |
Merge branch 'js/rebase-recreate-merge'
Hotfixes.
* js/rebase-recreate-merge:
sequencer: ensure labels that are object IDs are rewritten
git-rebase--interactive: fix copy-paste mistake
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index 560fc9b67d..cca968043e 100644 --- a/sequencer.c +++ b/sequencer.c @@ -3792,7 +3792,7 @@ static const char *label_oid(struct object_id *oid, const char *label, p[i] = save; } } - } else if (((len = strlen(label)) == GIT_SHA1_RAWSZ && + } else if (((len = strlen(label)) == the_hash_algo->hexsz && !get_oid_hex(label, &dummy)) || (len == 1 && *label == '#') || hashmap_get_from_hash(&state->labels, |