Re: Gitweb 1.7.5 and Textconv Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2 Jul 2011, Jeff King wrote:
> On Sat, Jul 02, 2011 at 01:23:38PM -0700, Jakub Narebski wrote:
> 
> > > 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.

Though on the other hand if he is compiling git himself, $prefix can
be $HOME...

> > 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.

Undocumented.

  $ git grep -e --textconv Documentation/
  Documentation/RelNotes/1.6.3.3.txt: * "git diff --textconv" leaked memory badly when the tex
  Documentation/git-cat-file.txt:'git cat-file' (-t | -s | -e | -p | <type> | --textconv ) <ob
  Documentation/git-cat-file.txt:object type, or '-s' is used to find the object size, or '--t
  Documentation/git-cat-file.txt:--textconv::

(on current 'master').

-- 
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]