t3903: stop hard-coding commit sha1s
commitf2f3fc95478c21687646a71f934c524a45e3ec03
authorJeff King <peff@peff.net>
Wed, 22 Apr 2015 19:30:52 +0000 (22 15:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Apr 2015 20:38:58 +0000 (22 13:38 -0700)
tree0a4be59da5f21abfa84c0b6dec217b56280d1663
parentfdf96a20acf96a6ac538df8113b2aafd6ed71d50
t3903: stop hard-coding commit sha1s

When testing the diff output of "git stash list", we look
for the stash's subject of "WIP on master: $sha1", even
though it's not relevant to the diff output. This makes the
test brittle to refactoring, as any changes to earlier tests
may impact the commit sha1.

Since we don't care about the commit subject here, we can
simply ask stash not to print it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3903-stash.sh