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.
1 parent 013d416 commit 3ad710aCopy full SHA for 3ad710a
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