mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-06 18:52:21 +00:00
Fix dumb type in time comparison
This commit is contained in:
parent
0f938c6b8f
commit
eb05b114e1
@ -535,7 +535,7 @@ cleanup:
|
||||
static bool diff_time_eq(
|
||||
const git_index_time *a, const git_index_time *b, bool use_nanos)
|
||||
{
|
||||
return a->seconds == a->seconds &&
|
||||
return a->seconds == b->seconds &&
|
||||
(!use_nanos || a->nanoseconds == b->nanoseconds);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user