Code

Make 'git stash -k' a short form for 'git stash save --keep-index'
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 27 Jul 2009 18:37:10 +0000 (20:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2009 14:33:06 +0000 (07:33 -0700)
commitea41cfc4f54f884582dbda307287f12bb1fc15e9
tree390b7e770faea618226d4841ecd127563e1192f6
parent6517452d7a4269e9a34648a28b8931640299f458
Make 'git stash -k' a short form for 'git stash save --keep-index'

To save me from the carpal tunnel syndrome, make 'git stash' accept
the short option '-k' instead of '--keep-index', and for even more
convenience, let's DWIM when this developer forgot to type the 'save'
command.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stash.txt
git-stash.sh
t/t3903-stash.sh