Re: [PATCH v3 3/8] rebase: be stricter when reading state files containing oids
"Phillip Wood via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Phillip Wood <phillip.wood@dunelm.org.uk>
>
> The state files for 'onto' and 'orig_head' should contain a full hex
> oid, change the reading functions from get_oid() to get_oid_hex() to
> reflect this.
Show 6 quoted lines
> - if (get_oid(buf.buf, &oid))
> + if (get_oid_hex(buf.buf, &oid))
> ...
> return -1;
> - if (get_oid(buf.buf, &opts->orig_head))
> + if (get_oid_hex(buf.buf, &opts->orig_head))