git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] `git stash drop --help` removes stash
@ 2012-05-22  7:29 Alexander Daniel
  2012-05-22 17:58 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Daniel @ 2012-05-22  7:29 UTC (permalink / raw)
  To: git

SUMMARY
`git stash drop --help` removes stash@{0}

VERSION
$ git --version
git version 1.7.10.2

STEPS TO REPRODUCE
- put something on the stash with `git stash`
- Naively try to show help for `git stash drop` with `git stash drop --help`
- `git stash drop --help` actually removes stash@{0}:

  $ git stash drop --help
  Dropped refs/stash@{0} (bfee7acd94b85e2b0bb5ef172893872140ba0520)

EXPECTED BEHAVIOR:
Invalid parameter error message is displayed (no modification of the stash)

Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-22 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22  7:29 [BUG] `git stash drop --help` removes stash Alexander Daniel
2012-05-22 17:58 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).