{"thread":{"id":"11414","subject":"reflog weirdness","startedAt":"2007-12-28T19:57:21Z","lastAt":"2008-01-02T11:48:21Z","messageCount":7,"participants":["Thien-Thi Nguyen","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64155","messageId":"87ve6iegny.fsf@ambire.localdomain","threadId":"11414","inReplyTo":null,"subject":"reflog weirdness","fromName":"Thien-Thi Nguyen","fromEmail":"ttn@gnuvola.org","sentAt":"2007-12-28T19:57:21Z","receivedAt":"2007-12-28T19:57:21Z","isPatch":false,"sender":{"key":"ttn@gnuvola.org","avatar":null},"body":"hello,\n\ni use git-1.5.3.5 and see the following fragment from \"git reflog\"\n(not inline due to binary values):\n\n\n\n\ni'd like to get rid of (or somehow get git to hide) the {21} line.\nany hints?\n\nthi\n"},{"id":"64156","messageId":"7vhci2ectr.fsf@gitster.siamese.dyndns.org","threadId":"11414","inReplyTo":"87ve6iegny.fsf@ambire.localdomain","subject":"Re: reflog weirdness","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-12-28T21:20:16Z","receivedAt":"2007-12-28T21:20:16Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thien-Thi Nguyen <ttn@gnuvola.org> writes:\n\n> i'd like to get rid of (or somehow get git to hide) the {21} line.\n> any hints?\n\n$ vi .git/logs/HEAD\n\nand truncate that line after \"commit: \" to remove the part that\nwould normally show the one-line commit log message.\n\nIt would be more interesting to know why garbage follows\n\"commit: \" on that one entry, though.  How does commit 20d9d23\nlook like (the tracked contents are not interesting --- the\ncommit log message is)?\n"},{"id":"64157","messageId":"87prwqec4a.fsf@ambire.localdomain","threadId":"11414","inReplyTo":"7vhci2ectr.fsf@gitster.siamese.dyndns.org","subject":"Re: reflog weirdness","fromName":"Thien-Thi Nguyen","fromEmail":"ttn@gnuvola.org","sentAt":"2007-12-28T21:35:33Z","receivedAt":"2007-12-28T21:35:33Z","isPatch":false,"sender":{"key":"ttn@gnuvola.org","avatar":null},"body":"() Junio C Hamano <gitster@pobox.com>\n() Fri, 28 Dec 2007 13:20:16 -0800\n\n   $ vi .git/logs/HEAD\n\n   and truncate that line after \"commit: \" to remove the\n   part that would normally show the one-line commit log\n   message.\n\nthanks for the tip.  i'll do that as soon as i've had a\nchance to ponder the repercussions.  in the meantime...\n\n   How does commit 20d9d23 look like (the tracked contents\n   are not interesting --- the commit log message is)?\n\nhere is the (again, not inlined due to strange bytes) top of\n\"git show 20d9d23\" output:\n\n\n\n\ni see that the body of the log message (three bytes)\ncorresponds to the first three bytes of the associated\nline in .git/logs/HEAD.\n\nthi\n"},{"id":"64159","messageId":"7vtzm2cwbw.fsf@gitster.siamese.dyndns.org","threadId":"11414","inReplyTo":"87prwqec4a.fsf@ambire.localdomain","subject":"Re: reflog weirdness","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-12-28T22:01:55Z","receivedAt":"2007-12-28T22:01:55Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thien-Thi Nguyen <ttn@gnuvola.org> writes:\n\n> i see that the body of the log message (three bytes)\n> corresponds to the first three bytes of the associated\n> line in .git/logs/HEAD.\n\nThanks.\n\nWas it a buggy \"git commit\" command, or a bad commit log message\nwas fed to \"git commit\" by the user, and there is nothing for me\nto worry about?\n"},{"id":"64161","messageId":"87fxxme8x9.fsf@ambire.localdomain","threadId":"11414","inReplyTo":"7vtzm2cwbw.fsf@gitster.siamese.dyndns.org","subject":"Re: reflog weirdness","fromName":"Thien-Thi Nguyen","fromEmail":"ttn@gnuvola.org","sentAt":"2007-12-28T22:44:34Z","receivedAt":"2007-12-28T22:44:34Z","isPatch":false,"sender":{"key":"ttn@gnuvola.org","avatar":null},"body":"() Junio C Hamano <gitster@pobox.com>\n() Fri, 28 Dec 2007 14:01:55 -0800\n\n   Was it a buggy \"git commit\" command, or a bad commit log\n   message was fed to \"git commit\" by the user, and there is\n   nothing for me to worry about?\n\ni'm sorry, even though it was only a couple days ago, the actual\nevents are far back in my memory, so i can't say.  i wouldn't\nworry about it -- probably user error.  (i'm new w/ git.  most of\nthe time i drive it from w/in emacs, which is well behaved; it is\nwhen i leave that comparative safety to do some flailing from the\ncommand-line that things go weird.)\n\ni suppose one way to improve git would be to test how it handles\ninterruption (control-c in the middle of a commit, for example).\na bit tricky to arrange (reproducibly), though...\n\nnow i go search the docs for how to replace that log message.\n\nthi\n"},{"id":"64163","messageId":"7vprwqcqk3.fsf@gitster.siamese.dyndns.org","threadId":"11414","inReplyTo":"87fxxme8x9.fsf@ambire.localdomain","subject":"Re: reflog weirdness","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-12-29T00:06:36Z","receivedAt":"2007-12-29T00:06:36Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thien-Thi Nguyen <ttn@gnuvola.org> writes:\n\n> () Junio C Hamano <gitster@pobox.com>\n> () Fri, 28 Dec 2007 14:01:55 -0800\n>\n>    Was it a buggy \"git commit\" command, or a bad commit log\n>    message was fed to \"git commit\" by the user, and there is\n>    nothing for me to worry about?\n>\n> i'm sorry, even though it was only a couple days ago, the actual\n> events are far back in my memory, so i can't say.  i wouldn't\n> worry about it -- probably user error.  (i'm new w/ git.  most of\n> the time i drive it from w/in emacs, which is well behaved; it is\n> when i leave that comparative safety to do some flailing from the\n> command-line that things go weird.)\n>\n> i suppose one way to improve git would be to test how it handles\n> interruption (control-c in the middle of a commit, for example).\n> a bit tricky to arrange (reproducibly), though...\n>\n> now i go search the docs for how to replace that log message.\n\n\"git-rebase -i\"\n"},{"id":"64333","messageId":"873atgqwhm.fsf@ambire.localdomain","threadId":"11414","inReplyTo":"7vprwqcqk3.fsf@gitster.siamese.dyndns.org","subject":"Re: reflog weirdness","fromName":"Thien-Thi Nguyen","fromEmail":"ttn@gnuvola.org","sentAt":"2008-01-02T11:48:21Z","receivedAt":"2008-01-02T11:48:21Z","isPatch":false,"sender":{"key":"ttn@gnuvola.org","avatar":null},"body":"() Junio C Hamano <gitster@pobox.com>\n() Fri, 28 Dec 2007 16:06:36 -0800\n\n   \"git-rebase -i\"\n\nthanks.  works great.\n\nthi\n"}]}