diff options
author | Brad King <brad.king@kitware.com> | 2010-02-09 18:31:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-02-09 18:31:32 (GMT) |
commit | 8bd231866afcae6aa8edb2d9df5f574bb017c0ed (patch) | |
tree | 7263e7004eccd0bf102e2fdb04a8f977908a1636 /Tests/CTestUpdateGIT.sh.in | |
parent | 78a5727d493343177be4bbf6ed0caefbdf0be3fb (diff) | |
download | CMake-8bd231866afcae6aa8edb2d9df5f574bb017c0ed.zip CMake-8bd231866afcae6aa8edb2d9df5f574bb017c0ed.tar.gz CMake-8bd231866afcae6aa8edb2d9df5f574bb017c0ed.tar.bz2 |
cmCTestGIT: Refresh index for local modifications
We use 'git diff-index' to detect local modifications after pull. On
some filesystems the work tree timestamps of a few files may be dated
after the index, making them appear as locally modified. We address the
problem by using 'git update-index --refresh' to refresh the index and
avoid false local modifications.
Diffstat (limited to 'Tests/CTestUpdateGIT.sh.in')
0 files changed, 0 insertions, 0 deletions