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.
front
Ori Bernstein 2021-06-03 16:15:16 -07:00
parent b42111117b
commit db5ca0017c
1 changed files with 1 additions and 1 deletions

View File

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