Merge branch 'kn/git-cd-to-empty'
[gitweb.git] / t / t7508-status.sh
index e3c9cf9c104e6d1bd1aa01290f988bc2e2258794..6b16bcb64031e32c7200deac8ceb46711a8e7bed 100755 (executable)
@@ -143,6 +143,17 @@ test_expect_success 'status -v' '
        test_i18ncmp expect-with-v output
 '
 
+test_expect_success 'status -v -v' '
+       (cat expect &&
+        echo "Changes to be committed:" &&
+        git -c diff.mnemonicprefix=true diff --cached &&
+        echo "--------------------------------------------------" &&
+        echo "Changes not staged for commit:" &&
+        git -c diff.mnemonicprefix=true diff) >expect-with-v &&
+       git status -v -v >output &&
+       test_i18ncmp expect-with-v output
+'
+
 test_expect_success 'setup fake editor' '
        cat >.git/editor <<-\EOF &&
        #! /bin/sh