t3903-stash: Work around a racily-clean index that is not detected.
commit9cb84d6263a454e1586cfed4b0f21376eec3f020
authorJohannes Sixt <j6t@kdbg.org>
Fri, 7 Nov 2008 12:52:12 +0000 (7 13:52 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 10 Nov 2015 08:09:05 +0000 (10 09:09 +0100)
tree56ab8d3357dd17f273d3f2ac6a50c86e40ebccfe
parent55a0d5338b6c744c9f8e27f2add649065f0e2261
t3903-stash: Work around a racily-clean index that is not detected.

We still have the problem that sometimes the time returned by stat() is off
by a second into the past. As a consequence, git cannot detect when a file
was modified such that only the content changed but no other aspect of the
meta-data that stat() retrieves. So we artificially delay the modification
so that at least the timestamp is different from the one recorded in the
index.
t/t3903-stash.sh