ref: f444579d88c3f1a26649dd125ea6e03862e67912
parent: 3441ecce23dbada9d1a6b9a497c6ed73f4190fa5
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Feb 23 16:31:57 EST 2021
refs: fix copy paste error
--- a/ref.c
+++ b/ref.c
@@ -293,7 +293,7 @@
for(i = 0; i < ntail; i++){
if(hasheq(&tail[i], &Zhash))
continue;
- if((o = readobject(head[i])) == nil){
+ if((o = readobject(tail[i])) == nil){
fprint(2, "warning: %H does not point at commit\n", o->hash);
werrstr("read tail %H: %r", tail[i]);
return -1;