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

Re: [PATCH] diff --check: use colour

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 26, 2007, 17:26 UTC
Message-ID
<epddi9$f2r$1@sea.gmane.org>
In-Reply-To
<17850.10014.251824.979660@lisa.zopyra.com>
[Cc: git@vger.kernel.org]
Bill Lear wrote:
Show 32 quoted lines
> On Friday, January 26, 2007 at 09:49:13 (-0600) Bill Lear writes:
>>...
>>Assuming that is correct, I should have a patch out before the end of
>>the day.
> 
> I did this:
> 
> git format-patch -s HEAD^
> 
> it produced this file:
> 
> 0001-Document-check-option-to-git-diff.patch
> 
> which looks to be formatted as a mail message:
> 
>>From 2a81f1e97564b89ab622cf32b68e7cebf605eafe Mon Sep 17 00:00:00 2001
>>From: Bill Lear <rael@zopyra.com>
>>Date: Fri, 26 Jan 2007 09:58:07 -0600
>>Subject: [PATCH] Document --check option to git-diff.
>>
>>
>>Signed-off-by: Bill Lear <rael@zopyra.com>
>>---
>> Documentation/diff-options.txt |    5 +++++
>> Documentation/git-diff.txt     |    6 ++++++
>> 2 files changed, 11 insertions(+), 0 deletions(-)
>>...
> 
> 
> Do I optionally edit this file, putting my comments before the
> "Signed-off-by" line, and then just send this off to the list with my
> mail command, i.e.:

Before "Signed-off-by" line you put commit message. Any coments which are not meant to be in commit message (like for example reply to some email) are to be put after "---" line, but before diffstat.

Read Documentation/SubmittingPatches
> % mail git@vger.kernel.org < 0001-Document-check-option-to-git-diff.patch
This should work.
% git send-email --to git@vger.kernel.org 0001-Document-check-option-to-git-diff.patch
should also work.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Jeff KingNext: Andy Parkins
Message 17 of 26 in “diff --check: use colour”
  1. diff --check: use colourJohannes Schindelin, Jan 24, 2007
  2. Junio C HamanoJan 24, 2007
  3. Johannes SchindelinJan 25, 2007
  4. Junio C HamanoJan 25, 2007
  5. Bill LearJan 25, 2007
  6. Johannes SchindelinJan 25, 2007
  7. Bill LearJan 26, 2007
  8. Jeff KingJan 26, 2007
  9. Andreas EricssonJan 26, 2007
  10. Andy ParkinsJan 26, 2007
  11. Bill LearJan 26, 2007
  12. Bill LearJan 26, 2007
  13. J. Bruce FieldsJan 26, 2007
  14. Bill LearJan 26, 2007
  15. Bill LearJan 26, 2007
  16. Jeff KingJan 26, 2007
  17. Jakub NarebskiJan 26, 2007
  18. Andy ParkinsJan 26, 2007
  19. Jakub NarebskiJan 26, 2007
  20. Junio C HamanoJan 26, 2007
  21. Johannes SchindelinJan 26, 2007
  22. Junio C HamanoFeb 18, 2007
  23. Johannes SchindelinFeb 18, 2007
  24. Junio C HamanoFeb 18, 2007
  25. Johannes SchindelinFeb 18, 2007
  26. diff --check: use colourJohannes Schindelin, Feb 18, 2007

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.