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

Re: [PATCH] Add a documentat on how to revert a faulty merge

From
Boyd Stephen Smith Jr. <bss@iguanasuicide.net>
Date
Dec 20, 2008, 22:12 UTC
Message-ID
<200812201612.37455.bss@iguanasuicide.net>
In-Reply-To
<20081220202702.6117@nanako3.lavabit.com>
On Saturday 2008 December 20 05:27:02 Nanako Shiraishi wrote:
Show 11 quoted lines
> +Date: Fri, 19 Dec 2008 00:45:19 -0800
> +From: Linus Torvalds <torvalds@linux-foundation.org>, Junio C Hamano
> <gitster@pobox.com> +Subject: Re: Odd merge behaviour involving reverts
> +Abstract: Sometimes a branch that was already merged to the mainline
> + is later found to be faulty.  Linus and Junio give guidance on
> + recovering from such a premature merge and continuing development
> + after the offending branch is fixed.
> +Message-ID: <7vocz8a6zk.fsf@gitster.siamese.dyndns.org>
> +References: <alpine.LFD.2.00.0812181949450.14014@localhost.localdomain>
> +
> +Alan <alan@clueserver.org> said:

I don't like the email headers as part of the documentation. It would be better to have a title and abstract in prose.

Also, your email gave me some errors from 'git am':
.dotest/patch:40: indent with spaces.
               /
.dotest/patch:57: indent with spaces.
               /
.dotest/patch:91: indent with spaces.
               /
.dotest/patch:103: indent with spaces.
               /
.dotest/patch:110: indent with spaces.
               /                       /
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

Those errors aside, I think it's better formatted than what I had ready. I also think it would be nice to also modify the git-revert manpage to reference this documentation in the description on the -m option.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     
Previous: Nanako ShiraishiNext: Junio C Hamano
Message 2 of 3 in “Add a documentat on how to revert a faulty merge”
  1. Add a documentat on how to revert a faulty mergeNanako Shiraishi, Dec 20, 2008
  2. Boyd Stephen Smith Jr.Dec 20, 2008
  3. Junio C HamanoDec 21, 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.