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

[PATCH v2 0/3] git stash branch fixes

From
Jon Seymour <jon.seymour@gmail.com>
Date
Aug 3, 2010, 10:42 UTC
Message-ID
<AANLkTi=6k7HcUYWhSi8XDfF0GnAwFdfN6b-ebf87eGSC@mail.gmail.com>
In-Reply-To
<AANLkTik8Npy99jKqUan8wOTXNffBCGwS_WnPwbhXqJYK@mail.gmail.com>
| fixed the subject line - sorry !

This series fixes git stash branch so that it is more tolerant of stash-like commits created with git stash create.

It particular, it doesn't require there to be a stash stack if a stash-like argument is specified and it doesn't attempt to drop non-stash references after applying the stash.

This series replaces my previous patch that just included a test that demonstrated the existance of the issue.

 stash: It looks like a stash, but doesn't quack like a stash...
 stash: Allow git stash branch to process commits that look like
   stashes but are not stash references.
 stash: modify tests to reflect stash branch fixes.
 git-stash.sh     |   10 ++++++++--
 t/t3903-stash.sh |   28 ++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 2 deletions(-)

-- 1.7.2.1.111.g8fc90

Next: Jon Seymour
Message 1 of 2 in “git stash branch fixes”
  1. 0/3 git stash branch fixesJon Seymour, Aug 3, 2010
  2. Jon SeymourAug 4, 2010

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.