summaryrefslogtreecommitdiff
path: root/mktree.c
diff options
context:
space:
mode:
authorLibravatar Robin Rosenberg <robin.rosenberg.lists@dewire.com>2007-07-25 00:56:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-07-24 17:28:10 -0700
commitf836f1ae9b1535d6a1aeb4a0e8a33d65edaf9ff8 (patch)
tree6aefe8ea87819de6c0f7842b4878a71c57faeba0 /mktree.c
parentcleanup unpack-trees.c: shrink struct tree_entry_list (diff)
downloadtgif-f836f1ae9b1535d6a1aeb4a0e8a33d65edaf9ff8.tar.xz
cvsexportcommit: avoid racy CVS problem.
If git cvsexportcommit is executed fast enough in sequence, the CVS timestamps could end up being the same. CVS tries to fix this by sleeping until the CPU clock changes seconds. Unfortunately, the CPU clock and the file system clock are not necessarily the same, so the timestamps could be the same anyway. When that happens CVS may not recognize changed files and cvs will forget to commit some files. Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mktree.c')
0 files changed, 0 insertions, 0 deletions