stash: allow "stash show" diff output configurable
commit3086c064fbbf3c4d086f9d7c303d9aa76f5204b2
authorNamhyung Kim <namhyung@gmail.com>
Sat, 29 Aug 2015 15:25:57 +0000 (30 00:25 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2015 18:29:04 +0000 (31 11:29 -0700)
tree7085dbdb7bc5ecf97a95fec0cda2f808940dbf24
parenta17c56c056d5fea0843b429132904c429a900229
stash: allow "stash show" diff output configurable

Some users might want to see diff (patch) output always rather than
diffstat when [s]he runs 'git stash show'.  Although this can be
done with adding -p option, users are too lazy to type extra three
keys.

Add two variables that control to show diffstat and patch output
respectively.  The stash.showStat is for diffstat and default is
true.  The stat.showPatch is for the patch output and default is
false.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-stash.txt
git-stash.sh