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

Re: [PATCH 2/2] gitweb: New improved formatting of chunk header in diff

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 8, 2006, 21:55 UTC
Message-ID
<200611082255.03617.jnareb@gmail.com>
In-Reply-To
<7vzmb1r4yu.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 11 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
> 
>> O.K. This one introduced new feature, and wasn't needed for earlier 
>> accepted patch (output empty patches) to have sense. And it is rc1 
>> phase...
> 
> I personally do not mind minor gitweb 'feature' updates in -rc
> cycle, just like I am planning to see if there are gitk updates
> I haven't pulled from Paulus (I think there is at least one
> patch from last month or so), unless the changes do not break it
> so badly.
I'll resend corrected patch then...
 
Show 14 quoted lines
>> By the way, where I can find proper specifiction of unified diff format? 
>> Do I understand correctly that bot from and to ranges can be without 
>> number of lines part if it simplifies to 0?
> 
> When Linus did apply.c and I did diff.c, we primarily worked off
> of sources to GNU patch.
> 
> There is a POSIX draft proposal now.
> 
> http://www.opengroup.org/austin/mailarchives/ag-review/msg02077.html
> 
> See also updates about the proposal.
> 
> http://thread.gmane.org/gmane.comp.version-control.git/29331/focus=29389
Thanks a lot.

Personally I think that we should push for git extended headers to be (as an option) in POSIX for unifed diff... well, with the exception of index and similarity lines. ;-)

-- 
Jakub Narebski
Previous: Junio C HamanoNext: Junio C Hamano
Message 14 of 16 in “Better unquoting of git quoted filenames; esc_path to escape pathnames for display”
  1. 0/2 Better unquoting of git quoted filenames; esc_path to escape pathnames for displayJakub Narebski, Nov 8, 2006
  2. 1/2 gitweb: Better git-unquoting and gitweb-quoting of pathnamesJakub Narebski, Nov 8, 2006
  3. 2/2 gitweb: Use character or octal escape codes (and add span.cntrl) in esc_pathJakub Narebski, Nov 8, 2006
  4. 0/2 gitweb: New improved patchset viewJakub Narebski, Nov 8, 2006
  5. 1/2 gitweb: New improved patchset viewJakub Narebski, Nov 8, 2006
  6. Junio C HamanoNov 8, 2006
  7. Junio C HamanoNov 8, 2006
  8. Jakub NarebskiNov 8, 2006
  9. 1/2 gitweb: New improved patchset viewJakub Narebski, Nov 8, 2006
  10. 2/2 gitweb: New improved formatting of chunk header in diffJakub Narebski, Nov 8, 2006
  11. Junio C HamanoNov 8, 2006
  12. Jakub NarebskiNov 8, 2006
  13. Junio C HamanoNov 8, 2006
  14. Jakub NarebskiNov 8, 2006
  15. Junio C HamanoNov 8, 2006
  16. Jakub NarebskiNov 8, 2006

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.