stash: add a test for stashing in a detached state
authorJoel Teichroeb <joel@teichroeb.net>
Sat, 19 Aug 2017 20:13:26 +0000 (13:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Aug 2017 21:04:04 +0000 (14:04 -0700)
commit4e9bf3dd6daec09b9a0b110825093c6a480f92e4
tree1662ee877f13dc378cb033b03ba1299686048f3f
parentb04e6915fa047bb3103e5be83953f2ca0b4b115b
stash: add a test for stashing in a detached state

All that we are really testing here is that the message is
correct when we are not on any branch. All other functionality is
already tested elsewhere.

Signed-off-by: Joel Teichroeb <joel@teichroeb.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3903-stash.sh