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

Re: reflog weirdness

From
TNThien-Thi Nguyen <ttn@gnuvola.org>
Date
Dec 28, 2007, 22:44 UTC
Message-ID
<87fxxme8x9.fsf@ambire.localdomain>
In-Reply-To
<7vtzm2cwbw.fsf@gitster.siamese.dyndns.org>

() Junio C Hamano <gitster@pobox.com> () Fri, 28 Dec 2007 14:01:55 -0800

   Was it a buggy "git commit" command, or a bad commit log
   message was fed to "git commit" by the user, and there is
   nothing for me to worry about?

i'm sorry, even though it was only a couple days ago, the actual events are far back in my memory, so i can't say. i wouldn't worry about it -- probably user error. (i'm new w/ git. most of the time i drive it from w/in emacs, which is well behaved; it is when i leave that comparative safety to do some flailing from the command-line that things go weird.)

i suppose one way to improve git would be to test how it handles interruption (control-c in the middle of a commit, for example). a bit tricky to arrange (reproducibly), though...

now i go search the docs for how to replace that log message.
thi
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “reflog weirdness”
  1. Thien-Thi NguyenDec 28, 2007
  2. Junio C HamanoDec 28, 2007
  3. Thien-Thi NguyenDec 28, 2007
  4. Junio C HamanoDec 28, 2007
  5. Thien-Thi NguyenDec 28, 2007
  6. Junio C HamanoDec 29, 2007
  7. Thien-Thi NguyenJan 2, 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.