git/log: show first commit as file change

We checked if the file was changed from its parents.
If there were no parents, the answer was no, but it
should be yes.
This commit is contained in:
Ori Bernstein 2021-06-03 16:15:16 -07:00
parent b42111117b
commit db5ca0017c

View file

@ -119,7 +119,7 @@ filtermatch(Object *o)
if(r)
return 1;
}
return 0;
return o->commit->nparent == 0;
}