ident: don't require calling prepare_fallback_ident first
[gitweb.git] / t / t3903-stash.sh
index 5f8272b6f94b513b250575c6e99e4f76d6b08e75..2115e8767e2b4017b42409835c2193d60c2737e1 100755 (executable)
@@ -1096,6 +1096,12 @@ test_expect_success 'stash -- <subdir> works with binary files' '
        test_path_is_file subdir/untracked
 '
 
+test_expect_success 'stash with user.name and user.email set works' '
+       test_config user.name "A U Thor" &&
+       test_config user.email "a.u@thor" &&
+       git stash
+'
+
 test_expect_success 'stash works when user.name and user.email are not set' '
        git reset &&
        >1 &&