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

commit --amend neglecting return value

From
maximilian attems <max@stro.at>
Date
Mar 22, 2010, 04:36 UTC
Message-ID
<20100322043616.GF21406@baikonur.stro.at>
hello,
bug is easily reproducible by
> foo
git add foo
git commit --amend
:q!
 1 files changed, 1 insertions(+), 8 deletions(-)
 create mode 100644 test
git --version
 git version 1.7.0.2

aboves is usage with vim as patch editor. The expected behaviour would be to have not foo add to repo. afair this feature^Wbug exists since loooong.

thanks + kind regards
-- 
maks
Next: Brian Gernhardt
Message 1 of 4 in “commit --amend neglecting return value”
  1. maximilian attemsMar 22, 2010
  2. Brian GernhardtMar 22, 2010
  3. Brian GernhardtMar 22, 2010
  4. maximilian attemsMar 22, 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.