summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-23 12:40:08 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-23 12:40:08 -0700
commitbca57eeac17204338aa142c16843522308b2d321 (patch)
tree73652cee64e974ec9627ccd9468c1024dbf74893 /t
parent4c9d7bc4a68e0c0608e865ccac69a517bc3f65b7 (diff)
parent658219f1c75e25adbe530a3b681ba3d2332caca6 (diff)
downloadgit-bca57eeac17204338aa142c16843522308b2d321.tar.gz
Merge branch 'rl/show-empty-prefix'
"git rev-parse --show-prefix" emitted nothing when run at the top-level of the working tree, while "git rev-parse --show-cdup" gave an empty line. Make them consistent. By Ross Lagerwall * rl/show-empty-prefix: rev-parse --show-prefix: add in trailing newline
Diffstat (limited to 't')
-rwxr-xr-xt/t1501-worktree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1501-worktree.sh b/t/t1501-worktree.sh
index e661147c57..8f36aa9fc4 100755
--- a/t/t1501-worktree.sh
+++ b/t/t1501-worktree.sh
@@ -68,7 +68,7 @@ test_expect_success 'inside work tree' '
)
'
-test_expect_failure 'empty prefix is actually written out' '
+test_expect_success 'empty prefix is actually written out' '
echo >expected &&
(
cd work &&