regression: stop checking for existence of refs directories
commitd5b78fdc8dc60dee857397b54bfdcabb0f299df7
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tue, 8 May 2018 14:13:00 +0000 (8 10:13 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Tue, 8 May 2018 14:28:58 +0000 (8 10:28 -0400)
tree9e3524f4f17bb4af4b0499865020ccb93006d643
parent71d571b0676ab7b8760fd0ed0f939cd7eb219601
regression: stop checking for existence of refs directories

git 2.13 changed the behavior of the ref directory cleanup code, so that
empty directories are removed more agressively.  The previous commit by
Eric fixes the failures on git 2.13 and newer, but breaks the tests for
older versions.  The simplest way to make the tests work for all
versions, is to stop checking for the existence of ref/patches
subdirectories.

In the future (when git's refs API actually becomes a thing), we might
have to rewrite the ref checking code as well since we won't be
guaranteed that each ref will show up as a file in .git/refs/patches.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
20 files changed:
regression/scaffold
regression/t-020.out
regression/t-021.out
regression/t-022.out
regression/t-023.out
regression/t-024.out
regression/t-025.out
regression/t-026.out
regression/t-027.out
regression/t-028.out
regression/t-029.out
regression/t-030.out
regression/t-031.out
regression/t-034.out
regression/t-035.out
regression/t-050.out
regression/t-051.out
regression/t-052.out
regression/t-061.out
regression/t-062.out