diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-03 17:24:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-04 17:41:27 -0700 |
commit | 050288d52dc5dc3f6c7716007c1069dd9f59feb7 (patch) | |
tree | 16d133049b6c9dfaf36e0125e01ff792270bbe21 /t/t7506-status-submodule.sh | |
parent | 451244d724f921eca9ffaf526d45c825f7c6f4eb (diff) | |
download | git-050288d52dc5dc3f6c7716007c1069dd9f59feb7.tar.gz |
is_racy_timestamp(): do not check timestamp for gitlinks
Because we do not even check the timestamp to determie if a gitlink
is up to date or not, triggering the racy-timestamp check for gitlinks
does not make sense.
This fixes the recently added test in t7506.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7506-status-submodule.sh')
-rwxr-xr-x | t/t7506-status-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7506-status-submodule.sh b/t/t7506-status-submodule.sh index 8987c9eb70..a75130cdbb 100755 --- a/t/t7506-status-submodule.sh +++ b/t/t7506-status-submodule.sh @@ -30,7 +30,7 @@ test_expect_success 'status clean (empty submodule dir)' ' git status | grep "nothing to commit" ' -test_expect_failure 'status -a clean (empty submodule dir)' ' +test_expect_success 'status -a clean (empty submodule dir)' ' git status -a | grep "nothing to commit" ' |