Skip to content

Commit

Permalink
refs: fix copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
oridb committed Feb 23, 2021
1 parent 3441ecc commit f444579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ findtwixt(Hash *head, int nhead, Hash *tail, int ntail, Object ***res, int *nres
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;
Expand Down

0 comments on commit f444579

Please sign in to comment.