Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-21 11:44:50 +0300
committerJunio C Hamano <gitster@pobox.com>2008-01-23 08:26:40 +0300
commit6d91da6d3c170d026f2d7f79bbd7b657a6908cc8 (patch)
treeadb7b336b0e7b0b06269fa250491ef5b17c1dbf2 /dir.c
parent077c48df8a72b046a2f562fedffa1c3d3a73a4e2 (diff)
read-cache.c: introduce is_racy_timestamp() helper
This moves a common boolean expression into a helper function, and makes the comparison between filesystem timestamp and index timestamp done in the function in line with the other places. st.st_mtime should be casted to (unsigned int) when compared to an index timestamp ce_mtime. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions