ref: db5ca0017c648c3c2bb5047e61d27ab584171dd7
parent: b42111117b76834c736155b542b1c38e6ce6b900
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jun 3 12:15:16 EDT 2021
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.
--- a/sys/src/cmd/git/log.c
+++ b/sys/src/cmd/git/log.c
@@ -119,7 +119,7 @@
if(r)
return 1;
}
- return 0;
+ return o->commit->nparent == 0;
}