Signed-off-by: Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> --- t/t7508-status.sh | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/t/t7508-status.sh b/t/t7508-status.sh index 99a74bd..8e7727e 100755 --- a/t/t7508-status.sh +++ b/t/t7508-status.sh @@ -298,6 +298,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: # (use "git reset HEAD <file>..." to unstage) -- 1.6.6.rc1.292.gd8fe -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html