git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stash missing, but not.  Can apply, but not drop or list the stash.
@ 2008-09-23 21:23 mattjackets
  2008-09-23 23:08 ` Brandon Casey
  0 siblings, 1 reply; 5+ messages in thread
From: mattjackets @ 2008-09-23 21:23 UTC (permalink / raw)
  To: git

I have a strange stash problem.  There is a single stash in the repo.

git stash apply 0  --  works, but results in a conflict.  Lets just go
ahead and drop the stash...

git stash list  --  shows nothing.  huh?  Lets go ahead with the drop
anyway and hope it works...

$ git stash drop stash@{0}
fatal: Log .git/logs/refs/stash is empty.
stash@{0}: not a valid stashed state

sure enough, .git/logs/refs/stash is empty

git stash clear  --  does nothing

I'm at a loss.  I can apply the stash cleanly to older revisions, and
gitk still shows the stash branch.  How can I fix this?  is it safe to
simply delete the stash branch as if it was any other branch?

Thanks,
Matt
-- 
  matt
  mattlist@fastmail.fm

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

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

end of thread, other threads:[~2008-10-02 23:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-23 21:23 Stash missing, but not. Can apply, but not drop or list the stash mattjackets
2008-09-23 23:08 ` Brandon Casey
2008-09-23 23:57   ` [PATCH maint] git-stash.sh: don't default to refs/stash if invalid ref supplied Brandon Casey
2008-10-01 19:53     ` regression: stash show -p (was [PATCH maint] git-stash.sh: don't default to refs/stash if invalid ref supplied) Brandon Casey
2008-10-02 23:52       ` [PATCH] git-stash.sh: fix flawed fix of invalid ref handling (commit da65e7c1) Brandon Casey

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).