We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 013d416 + 3ad710a commit 4c98283Copy full SHA for 4c98283
src/index.h
@@ -111,7 +111,7 @@ GIT_INLINE(bool) git_index_entry_newer_than_index(
111
return true;
112
else if ((int32_t)index->stamp.mtime.tv_sec > entry->mtime.seconds)
113
return false;
114
- else if (entry->mtime.nanoseconds == 0 || index->stamp.mtime.tv_sec == 0)
+ else if (entry->mtime.nanoseconds == 0 || index->stamp.mtime.tv_nsec == 0)
115
116
else
117
return (uint32_t)index->stamp.mtime.tv_nsec <= entry->mtime.nanoseconds;
0 commit comments