Skip to content

Commit

Permalink
t7508-status: status --porcelain ignores relative paths setting
Browse files Browse the repository at this point in the history
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Dec 8, 2009
1 parent 8661768 commit c521bb7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions t/t7508-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,24 @@ test_expect_success 'status -s with relative paths' '
'

cat > expect << \EOF
M dir1/modified
A dir2/added
?? dir1/untracked
?? dir2/modified
?? dir2/untracked
?? expect
?? output
?? untracked
EOF

test_expect_success 'status --porcelain ignores relative paths setting' '
(cd dir1 && git status --porcelain) > output &&
test_cmp expect output
'

cat > expect << \EOF
# On branch master
# Changes to be committed:
Expand Down

0 comments on commit c521bb7

Please sign in to comment.