diff options
| author | Junio C Hamano <gitster@pobox.com> | 2012-04-23 12:40:08 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-04-23 12:40:08 -0700 |
| commit | bca57eeac17204338aa142c16843522308b2d321 (patch) | |
| tree | 73652cee64e974ec9627ccd9468c1024dbf74893 /t | |
| parent | Merge branch 'pw/git-p4' (diff) | |
| parent | rev-parse --show-prefix: add in trailing newline (diff) | |
| download | git-bca57eeac17204338aa142c16843522308b2d321.tar.gz git-bca57eeac17204338aa142c16843522308b2d321.zip | |
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-x | t/t1501-worktree.sh | 2 |
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 && |
