Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo-git.t @ 15531:0810ccc51f0a stable
subrepo: fix git status false positive (issue3109)
It turns out there's a separate command to force git to look at file contents
if the stat has changed.
author | Eric Roshan Eisner <ede@alum.mit.edu> |
---|---|
date | Fri, 11 Nov 2011 11:11:11 +1111 |
parents | e174353e8cda |
children | b254f827b7a6 0628290d98df |
line wrap: on
line diff
--- a/tests/test-subrepo-git.t Wed Nov 16 08:34:36 2011 +0100 +++ b/tests/test-subrepo-git.t Fri Nov 11 11:11:11 2011 +1111 @@ -361,6 +361,15 @@ $ hg update -qC nosubstate $ ls s +issue3109: false positives in git diff-index + + $ hg update -q + $ touch -t 200001010000 s/g + $ hg status --subrepos + $ touch -t 200001010000 s/g + $ hg sum | grep commit + commit: (clean) + Check hg update --clean $ cd $TESTTMP/ta $ echo > s/g