From: Junio C Hamano Date: Thu, 13 Oct 2022 16:34:19 GMT Subject: Re: [PATCH v3 3/8] rebase: be stricter when reading state files containing oids Message-ID: In-Reply-To: <1fd58520253420fbe870a8528540dbc9e2178e3f.1665650564.git.gitgitgadget@gmail.com> "Phillip Wood via GitGitGadget" writes: > From: Phillip Wood > > 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. OK. > - 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))