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

Re: Why gitweb commitdiff NO diff output ?

From
Junio C Hamano <junkio@cox.net>
Date
Oct 10, 2006, 17:42 UTC
Message-ID
<7viris2hkh.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4b3406f0610100346v16f1f2f6i305963bc1b398dac@mail.gmail.com>
"Dongsheng Song" <dongsheng.song@gmail.com> writes:
Show 9 quoted lines
> Thanks, now that's OK.
>
>> I am not sure what version of gitweb your distribution packages,
>> but it used to be that commitdiff page wanted to create
>> temporary file somewhere on the filesystem (the variable was
>> $git_temp and by default it was set to "/tmp/gitweb", I think).
>> Your other pages such as commit and log page seem to be working,
>> so perhaps your gitweb has trouble writing there only on that
>> machine?
Care to share your experience to help others?

If it was /tmp/gitweb permission problem then the newer gitweb shouldn't have that issue so it would be a moot point, but if the pitfall still applies to the current software we might want to add a "common pitfals" section to gitweb/README.

Previous: Dongsheng SongNext: Johannes Schindelin
Message 13 of 15 in “Why gitweb commitdiff NO diff output ?”
  1. Dongsheng SongSep 28, 2006
  2. Jakub NarebskiOct 3, 2006
  3. Martin WaitzOct 3, 2006
  4. Junio C HamanoOct 3, 2006
  5. Dongsheng SongOct 8, 2006
  6. Junio C HamanoOct 10, 2006
  7. Dongsheng SongOct 10, 2006
  8. Junio C HamanoOct 10, 2006
  9. Junio C HamanoOct 10, 2006
  10. Dongsheng SongOct 10, 2006
  11. Junio C HamanoOct 10, 2006
  12. Dongsheng SongOct 10, 2006
  13. Junio C HamanoOct 10, 2006
  14. Johannes SchindelinOct 10, 2006
  15. Dongsheng SongOct 11, 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.