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

Re: Gitweb 1.7.5 and Textconv Configuration

From
Jeff King <peff@peff.net>
Date
Jul 2, 2011, 21:10 UTC
Message-ID
<20110702211027.GA16294@sigill.intra.peff.net>
In-Reply-To
<m3aacw5t5x.fsf@localhost.localdomain>
On Sat, Jul 02, 2011 at 01:23:38PM -0700, Jakub Narebski wrote:
Show 8 quoted lines
> > Ah, I see. That seems like a reasonable solution. Are you sure that the
> > user running gitweb as a CGI is the same as the user you log in as? That
> > is, are you sure that ~/.gitconfig is being parsed when it is called as
> > a CGI, and it's not looking in ~www/.gitconfig or something?
> > 
> > It would depend how your hosting is set up.
> 
> Well, there is also system wide $(prefix)/etc/gitconfig file...

Good point. Though if he's on shared hosting, that might not be an option.

> The question is if --textconv works with git-diff-tree, because that
> is what gitweb uses.

It does. It just defaults to "--no-textconv", but you can enable it on the command-line.

-Peff
Previous: Jakub NarebskiNext: Jakub Narebski
Message 9 of 13 in “Gitweb 1.7.5 and Textconv Configuration”
  1. Al HarakaJul 2, 2011
  2. Jeff KingJul 2, 2011
  3. Jeff KingJul 2, 2011
  4. Al HarakaJul 2, 2011
  5. Jeff KingJul 2, 2011
  6. Al HarakaJul 2, 2011
  7. Jeff KingJul 2, 2011
  8. Jakub NarebskiJul 2, 2011
  9. Jeff KingJul 2, 2011
  10. Jakub NarebskiJul 2, 2011
  11. Al HarakaJul 2, 2011
  12. Jakub NarebskiJul 6, 2011
  13. docs: document --textconv diff optionJeff King, Jul 6, 2011

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.