diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-01-24 10:53:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-01-24 10:53:09 -0800 |
commit | 0efbb7d9f488112d20a8ff257b72a3699aae8ef8 (patch) | |
tree | 271f1c67fee4e3664c96e667ad009d840739f52d /t/README | |
parent | 8c0db6fd51cec5fd82cf4054818c0a1ca4a58f37 (diff) | |
parent | 6abbee8c60f16492d605ce087484d2654c068515 (diff) | |
download | git-0efbb7d9f488112d20a8ff257b72a3699aae8ef8.tar.gz |
Merge branch 'jn/setup-fixes'
* jn/setup-fixes:
t1510: fix typo in the comment of a test
Documentation updates for 'GIT_WORK_TREE without GIT_DIR' historical usecase
Subject: setup: officially support --work-tree without --git-dir
tests: compress the setup tests
tests: cosmetic improvements to the repo-setup test
t/README: hint about using $(pwd) rather than $PWD in tests
Fix expected values of setup tests on Windows
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -283,6 +283,12 @@ Do: Tests that are likely to smoke out future regressions are better than tests that just inflate the coverage metrics. + - When a test checks for an absolute path that a git command generated, + construct the expected value using $(pwd) rather than $PWD, + $TEST_DIRECTORY, or $TRASH_DIRECTORY. It makes a difference on + Windows, where the shell (MSYS bash) mangles absolute path names. + For details, see the commit message of 4114156ae9. + Don't: - exit() within a <script> part. |