diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2016-05-17 15:36:26 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-17 13:33:20 -0700 |
commit | d66f68ff985f494f3122ab05b532c6e41884ad64 (patch) | |
tree | b66bfe4a1fdcdfb7fc88573c3c70538a45fa1d98 /t/t5100/msg0002 | |
parent | Almost ready for 2.8.3 (diff) | |
download | tgif-d66f68ff985f494f3122ab05b532c6e41884ad64.tar.xz |
t1500: be considerate to future potential tests
The final batch of git-rev-parse tests work against a non-local object
database named repo.git. This is done by renaming .git to repo.git and
pointing GIT_DIR at it, but the name is never restored to .git at the
end of the script, which can be problematic for tests added in the
future. Be more friendly by instead making repo.git a copy of .git.
Furthermore, make it clear that tests in repo.git will be independent
from the results of earlier tests done in .git by initializing repo.git
earlier in the test sequence.
Likewise, bundle remaining preparation (such as directory creation) into
a common setup test consistent with modern practice.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0002')
0 files changed, 0 insertions, 0 deletions