diff options
author | Russell Belfer <rb@github.com> | 2013-05-08 09:45:01 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-08 09:45:01 +0400 |
commit | eb05b114e1c8042225086393a39b712fe3f31e71 (patch) | |
tree | f54dfedea63b2b0cf462ff8be681cab4208d60c2 /src/diff.c | |
parent | 0f938c6b8fbddc8810b05603c29751c0b5b7323c (diff) |
Fix dumb type in time comparison
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index e0dff9c95..f466546bb 100644 --- a/src/diff.c +++ b/src/diff.c @@ -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); } |