summaryrefslogtreecommitdiff
path: root/sys/src/cmd/git/git.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-03-17 01:41:44 +0000
committerMichael Forney <mforney@mforney.org>2022-03-17 01:41:44 +0000
commitd55a64c90512aae66b5cabac57edc3e957bd3f0c (patch)
tree8287e6a2af6b0f0e41f94d2111aa44ab73e62aa1 /sys/src/cmd/git/git.h
parent8bd5be7c707b979caa277637cadf356b78c2edb5 (diff)
git: use commit date as traversal hint instead of author date
Although git9 always uses the same commit date and author date, other implementation do make a distinction. Since commit date is more representative of the commit graph order, use this as a traversal hint instead of author date.
Diffstat (limited to 'sys/src/cmd/git/git.h')
-rw-r--r--sys/src/cmd/git/git.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/git/git.h b/sys/src/cmd/git/git.h
index cc39542dc..4e74333c5 100644
--- a/sys/src/cmd/git/git.h
+++ b/sys/src/cmd/git/git.h
@@ -158,7 +158,7 @@ struct Objset {
struct Qelt {
Object *o;
- vlong mtime;
+ vlong ctime;
int color;
};