1. 08 Jun, 2010 1 commit
    • Brad King's avatar
      ctest_update: Support Git upstream branch rewrites · c3781efb
      Brad King authored
      Use 'git fetch' followed by 'git reset' to update the source tree.  This
      is better than 'git pull' because it can handle a rewritten upstream
      branch and does not leave local modifications.  After fetch, parse
      FETCH_HEAD to find the merge head that 'git pull' would choose to track
      the upstream branch.  Then reset to the selected head.
      
      In the normal fast-forward case the behavior remains unchanged.
      However, now local modifications and commits will be erased, and
      upstream rewrites are handled smoothly.  This ensures that the upstream
      branch is tested as expected.
      c3781efb
  2. 11 Feb, 2010 1 commit
  3. 09 Feb, 2010 1 commit
    • Brad King's avatar
      Teach CTest.UpdateGIT test to fake file timestamp · 6e7e71e9
      Brad King authored
      We wrap the git executable in a shell script that touches one source
      file after 'git pull'.  This makes the file newer than the index even
      though it has not actually changed.  If CTest does not refresh the index
      properly then the test will fail with a bogus modified file.
      6e7e71e9