author | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Jan 2008 09:35:54 +0000 (01:35 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jan 2008 02:41:36 +0000 (18:41 -0800) | ||
commit | 3023dc690f98f83b64cc6f2a9cc015bf2b01964a | |
tree | 9f56b0da7a3c138bb00036a63d53ba281f3d9ed6 | tree | snapshot |
parent | 7c390d90e8b6322948f45cecc658d62813c0d5ae | commit | diff |
git-stash clear: refuse to work with extra parameter for now
Because it is so tempting to expect "git stash clear stash@{4}"
to remove the fourth element in the stash while leaving other
elements intact, we should not blindly throw away everything
upon seeing such a command.
This may change when we start using "git reflog delete" to
selectively nuke a single (or multiple, for that matter) stash
entries with such a command line.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Because it is so tempting to expect "git stash clear stash@{4}"
to remove the fourth element in the stash while leaving other
elements intact, we should not blindly throw away everything
upon seeing such a command.
This may change when we start using "git reflog delete" to
selectively nuke a single (or multiple, for that matter) stash
entries with such a command line.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh | diff | blob | history |