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 0f9d154 commit 0c09753Copy full SHA for 0c09753
src/index.h
@@ -92,7 +92,7 @@ GIT_INLINE(bool) git_index_entry_newer_than_index(
92
93
/* If the timestamp is the same or newer than the index, it's racy */
94
#if defined(GIT_USE_NSEC)
95
- if ((int32_t)index->stamp.tv_sec < entry->mtime.seconds)
+ if ((int32_t)index->stamp.mtime.tv_sec < entry->mtime.seconds)
96
return true;
97
else if ((int32_t)index->stamp.mtime.tv_sec > entry->mtime.seconds)
98
return false;
0 commit comments