Thread (66 messages) 66 messages, 9 authors, 2022-10-19

Re: [PATCH v3 3/8] rebase: be stricter when reading state files containing oids

From: Junio C Hamano <hidden>
Date: 2022-10-13 16:34:26

"Phillip Wood via GitGitGadget" [off-list ref] writes:
From: Phillip Wood <redacted>

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))
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help