]> git.ipfire.org Git - thirdparty/git.git/commit
t3903: reduce dependencies on previous tests
authorD. Ben Knoble <ben.knoble+github@gmail.com>
Mon, 22 Sep 2025 01:39:03 +0000 (21:39 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Sep 2025 03:23:23 +0000 (20:23 -0700)
commit80bc042b4711b00dd35f24fd0c6ee450f41f3c2c
tree8fbad912c5707410e0350a5f5670dfc08da1dce3
parent1ee85f0e215f22b0878d0ad4b2445d12bbb63887
t3903: reduce dependencies on previous tests

Skipping previous tests to work through only failing tests with
arguments like --run=4,122- causes some tests to fail because subdir
doesn't exist yet (it is created by a previous test; typically
"unstashing in a subdirectory"). Create it on demand for tests that need
it, but don't fail (-p) if the directory already exists.

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3903-stash.sh