summaryrefslogtreecommitdiff
path: root/advice.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2011-10-13 10:06:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-13 16:05:22 -0700
commit42afe62df449021fcb501f9df09f8ecfaa764d25 (patch)
treea7f0d52cd36e60ee270a9e9b81958694ca8ada78 /advice.c
parentadd_ref(): verify that the refname is formatted correctly (diff)
downloadtgif-42afe62df449021fcb501f9df09f8ecfaa764d25.tar.xz
t1402-check-ref-format: skip tests of refs beginning with slash on Windows
Bash on Windows converts program arguments that look like absolute POSIX paths to their Windows form, i.e., drive-letter-colon format. For this reason, those tests in t1402 that check refs that begin with a slash do not work as expected on Windows: valid_ref tests are doomed to fail, and invalid_ref tests fail for the wrong reason (that there is a colon rather than that they begin with a slash). Skip these tests. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions