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

Re: [PATCH] Add hints to revert documentation about other ways to undo changes

From
TTarmigan <tarmigan+git@gmail.com>
Date
Aug 20, 2008, 23:36 UTC
Message-ID
<905315640808201636of09ccb3wb31b71cd090b451@mail.gmail.com>
In-Reply-To
<7vzln7mglj.fsf@gitster.siamese.dyndns.org>
On Wed, Aug 20, 2008 at 4:06 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> Tarmigan Casebolt <tarmigan+git@gmail.com> writes:
>
>> Based on its name, people may read the 'git revert' documentation when
>> ...
>>  Documentation/git-revert.txt |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
>>
>> diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
>> index 98cfa3c..e578edf 100644
>> --- a/Documentation/git-revert.txt
>> +++ b/Documentation/git-revert.txt
>> @@ -15,7 +15,15 @@ Given one existing commit, revert the change the patch introduces, and record a
>
> Why do you say you have 7 preimage lines and 15 postimage lines, when the
> diffstat claims you have 9 insertions?
>
> Did you hand edit the diff?
>

Oops, sorry about that. I did hand edit the diff because at the last second I saw a typo (particulary --> particularly), but I had already written the email so I didn't want to do `format-patch` again. I did not rewrap, nor did I manually change the 6 to a 7. I did use emacs though, which, when I tried to recreate it right now, seems to change the 6 to a 7 when I touch any of the changed lines.

Sorry about that. I will turn off emacs diff mode and try to be more careful next time. Please let me know if you want me to resend.

Thanks, Tarmigan

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “Add hints to revert documentation about other ways to undo changes”
  1. Add hints to revert documentation about other ways to undo changesTarmigan, Aug 19, 2008
  2. Junio C HamanoAug 19, 2008
  3. Add hints to revert documentation about other ways to undo changesTarmigan Casebolt, Aug 19, 2008
  4. Junio C HamanoAug 20, 2008
  5. TarmiganAug 20, 2008
  6. Junio C HamanoAug 20, 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.