Code

stash: fix incorrect quoting in cleanup of temporary files
authorJohannes Sixt <j6t@kdbg.org>
Wed, 16 Mar 2011 08:14:33 +0000 (09:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2011 21:53:10 +0000 (14:53 -0700)
commit23a32ffe803237b64651cbd104585d04b8fe33d6
tree869a558a23688df4be373794ed5c8c7a03597014
parentea2c69ed4728070be1d2ee953a6948398b859150
stash: fix incorrect quoting in cleanup of temporary files

The * was inside the quotes, so that the pattern was never expanded and the
temporary files were never removed. As a consequence, 'stash -p' left a
.git-stash-*-patch file in $GIT_DIR. Other code paths did not leave files
behind because they removed the temporary file themselves, at least in
non-error paths.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh