]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib: set $TRASH_DIRECTORY earlier
authorSZEDER Gábor <szeder.dev@gmail.com>
Sat, 5 Jan 2019 01:08:57 +0000 (02:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2019 17:24:06 +0000 (09:24 -0800)
commit61f292db4e1df5b4e871cefffff3e9ec01ef2ade
treef1a1d18a9a577cb0da1563b8d63b5e74a2c85fe1
parent62c379b8d4b56df94c79ca06e5aceff45f617901
test-lib: set $TRASH_DIRECTORY earlier

A later patch in this series will need to know the path to the trash
directory early in 'test-lib.sh', but $TRASH_DIRECTORY is set much
later.

Set $TRASH_DIRECTORY earlier, where the other test-specific path
variables are set.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh