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

[PATCH v2 0/5] Write a good 'git stash store' for autostash

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 14, 2013, 10:31 UTC
Message-ID
<1371205924-8982-1-git-send-email-artagnon@gmail.com>
Hi,

So, I've taken Junio's suggestion and designed a proper command-line interface for 'git stash store' in this iteration:

  git stash store [-m <message>] [-e <error>] <commit>

The error string will be passed through eval_gettext before it is printed. Otherwise, the idea is the same: to clean up the logic surrounding autostash.

Thanks.
Ramkumar Ramachandra (5):
  stash doc: add a warning about using create
  stash doc: document short form -p in synopsis
  stash: simplify option parser for create
  stash: introduce 'git stash store'
  rebase: use 'git stash store' to simplify logic
 Documentation/git-stash.txt | 12 ++++++++--
 git-rebase.sh               |  6 +----
 git-stash.sh                | 53 ++++++++++++++++++++++++++++++++++++---------
 t/t3903-stash.sh            | 19 ++++++++++++++++
 4 files changed, 73 insertions(+), 17 deletions(-)
-- 
1.8.3.1.383.g0d5ad6b
Next: Ramkumar Ramachandra
Message 1 of 13 in “Write a good 'git stash store' for autostash”
  1. 0/5 Write a good 'git stash store' for autostashRamkumar Ramachandra, Jun 14, 2013
  2. 1/5 stash doc: add a warning about using createRamkumar Ramachandra, Jun 14, 2013
  3. Phil HordJun 14, 2013
  4. Junio C HamanoJun 14, 2013
  5. 2/5 stash doc: document short form -p in synopsisRamkumar Ramachandra, Jun 14, 2013
  6. 3/5 stash: simplify option parser for createRamkumar Ramachandra, Jun 14, 2013
  7. 4/5 stash: introduce 'git stash store'Ramkumar Ramachandra, Jun 14, 2013
  8. Phil HordJun 14, 2013
  9. 5/5 rebase: use 'git stash store' to simplify logicRamkumar Ramachandra, Jun 14, 2013
  10. Phil HordJun 14, 2013
  11. Ramkumar RamachandraJun 14, 2013
  12. Junio C HamanoJun 14, 2013
  13. Ramkumar RamachandraJun 14, 2013

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.