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

Re: [PATCH (resend)] gitweb: Fix bug in "blobdiff" view for split (e.g. file to symlink) patches

From
Junio C Hamano <junkio@cox.net>
Date
Apr 5, 2007, 20:47 UTC
Message-ID
<7v3b3epn0a.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1175773541251-git-send-email-jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 6 quoted lines
> git_patchset_body needs patch generated with --full-index option to
> detect split patches,...
> ...
> This patch fixes this bug in git_blobdiff (in "blobdiff" view).
>
> Junio, you probably have missed this patch in the noise...

Probably. Although I do remember seeing the patch, it was unclear why --full-index is needed (and it still is unclear to me). Do you have a parser that expects/depends on full 40-hexdigit hash on the index line?

Not a complaint but a question -- I do not mind (actually prefer, probably) if gitweb worked on full 40-hexdigit internally to avoid possible ambiguity issues, although the output may need to be truncated to save people from having to see unneeded precision.

Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 3 in “gitweb: Fix bug in "blobdiff" view for split (e.g. file to symlink) patches”
  1. gitweb: Fix bug in "blobdiff" view for split (e.g. file to symlink) patchesJakub Narebski, Apr 5, 2007
  2. Junio C HamanoApr 5, 2007
  3. Jakub NarebskiApr 5, 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.