git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-stash.sh: don't default to refs/stash if invalid ref supplied

From
Shawn O. Pearce <spearce@spearce.org>
Date
Sep 26, 2008, 15:25 UTC
Message-ID
<20080926152527.GB17584@spearce.org>
In-Reply-To
<rM3bh5QWZGeYnjwx4dCYZ179UgQYlxany_gu84OcX6FVMMOkKmGKWg@cipher.nrlssc.navy.mil>
Brandon Casey <casey@nrlssc.navy.mil> wrote:
Show 13 quoted lines
>    commit da65e7c133cd316c9076fbb6b0aeee7bc42a6db8
>    Author: Brandon Casey <casey@nrlssc.navy.mil>
>    Date:   Tue Sep 23 18:57:09 2008 -0500
> 
>        git-stash.sh: don't default to refs/stash if invalid ref supplied
>     
>        <snip>
>     
>        e.g. 'git stash apply stash@{1}' would fall back to
>             'git stash apply stash@{0}'
> 
> heh, you fixed my spelling "mistake" :), but it wasn't a mistake. Originally
> I had:
Heh.  I geuss my spleling meter was working overtime yesterday?  ;-)
Show 6 quoted lines
>     e.g. 'git stash apply stahs@{1}' would fall back to
>          'git stash apply stash@{0}'
> 
> intending to show that a simple spelling mistake could cause the wrong thing
> to be done. The example in the commit message could actually still happen if
> there was only a single stash entry. I guess I should have used 'foobar@{1}'. :)

Yea, reading it now I see why you had the typo in the message. But yesterday it just looked like a typo to me. Dammit. That's the last time I cleanup a typo before applying a patch!

;-)
-- 
Shawn.
Previous: Brandon Casey
Message 2 of 2 in “git-stash.sh: don't default to refs/stash if invalid ref supplied”
  1. Brandon CaseySep 26, 2008
  2. Shawn O. PearceSep 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.