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

Bug: "git stash create" ignores "message" argument

From
José Miguel Armijo Fidalgo <jm.armijo.f@gmail.com>
Date
Jul 6, 2025, 01:28 UTC
Message-ID
<CAKMuBmSeFh63212_GhBHfOTbW5VaqvQjo7jz4aowm8bntCXkVw@mail.gmail.com>
What did you do before the bug happened? (Steps to reproduce your issue)
    $ git stash create "example message"
    1e9b483d1f9477de5c99a708f4aa512ba
    $ git stash store 1e9b483d1f9477de5c99a708f4aa512ba
    $ git stash list
What did you expect to happen? (Expected behavior)
     stash@{0}: example message
What happened instead? (Actual behavior)
     stash@{0}: Created via "git stash store".
What's different between what you expected and what actually happened?
    The documentation does not explain what the message "argument" is used for.
    I would have expected that the message would be used by the store command.
Anything else you want to add:
    If the message argument is not used at all, I would expect to
remove the argument, or
    alternatively, that the documentation explains why the argument
exists and what it does/doesn't do.

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info]
git version:
git version 2.50.0
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
libcurl: 8.7.1
zlib: 1.2.12
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
uname: Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:33
PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8122 arm64
compiler info: clang: 17.0.0 (clang-1700.0.13.3)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh
Next: Jeff King
Message 1 of 8 in “Bug: "git stash create" ignores "message" argument”
  1. José Miguel Armijo FidalgoJul 6, 2025
  2. Jeff KingJul 6, 2025
  3. Junio C HamanoJul 8, 2025
  4. Jeff KingJul 8, 2025
  5. José Miguel Armijo FidalgoJul 9, 2025
  6. Darren RambaudJul 6, 2025
  7. José Miguel Armijo FidalgoJul 8, 2025
  8. Junio C HamanoJul 8, 2025

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.