From: Michael J Gruber Date: Tue, 8 Dec 2009 10:12:01 +0000 (+0100) Subject: t7508-status: status --porcelain ignores relative paths setting X-Git-Tag: v1.7.0-rc0~137^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c521bb7114e081d81eb7cd77cf5989d30160d0a2;p=git.git t7508-status: status --porcelain ignores relative paths setting Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- diff --git a/t/t7508-status.sh b/t/t7508-status.sh index 99a74bda6..8e7727e5d 100755 --- a/t/t7508-status.sh +++ b/t/t7508-status.sh @@ -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: