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

Re: change of git-diff-tree and symlinks

From
KSKay Sievers <kay.sievers@vrfy.org>
Date
May 29, 2005, 15:06 UTC
Message-ID
<20050529150656.GA27127@vrfy.org>
In-Reply-To
<4299CED5.5070508@roemling.net>
On Sun, May 29, 2005 at 04:16:53PM +0200, Jochen Roemling wrote:
Show 17 quoted lines
> I'm planning to use cogito/git for tracking development of my (PHP 
> based) website. Although this is the first time in my life I'm using 
> something that smells like a SCM, it seems to work great. The only thing 
> lacking is a working gitweb installation.
> I downloaded the gitweb.cgi script from 
> kernel.org/pub/software/scm/gitweb, but it dates already May 23rd.
> 
> In your mail below from May 25 you state that there have been quite some 
> changes to git-diff-tree:
> 
> Kay Sievers wrote:
> >
> >The new one shows simply nothing.
> >Shouldn't it print the mode changes like the old one?
> >
> and that might be the reason why I'm getting "nothing" when I'm clicking 
> on a "commitdiff" link.

The kernel.org servers use Cogito which needs a new release. So the version on kernel.org is always a working version with the current release of Cogito as long as we don't get a git-core to provide the binaries.

> After investigating further, I found out that the object type ("blob" in 
> the example above) is no longer printed by git-diff-tree.

The format has changed, just get the latest version of gitweb from my box instead.

> Also there is a new parameter '-p' that allows the output of a patch 
> directly instead of creating it with the help of temporary files as you 
> do it in gitweb.

Sure, gitweb did the diffs before git was able to do that. And it does not really matter who is creating the temp-files, the cgi or the git-binaries. :) If things are stable some day, I may switch that over and maybe even support the nice rename detection.

> Could you please post a downloadable current release of gitweb to 
> kernel.org that works with the current git? If not, please tell me what 
> git release is installed at kernel.org so that I can use that branch to 
> get it to work with gitweb.
My latest version is here:
  ftp://ehlo.org/gitweb.cgi
> And as a last side note it would be helpfull if you could include a 
> release number in the gitweb footer as you did in the very beginning so 
> that we know if something changed and there is new stuff to explore...
It is in the html-source, right at the top.

Thanks, Kay

Previous: Jochen RoemlingNext: Jochen Roemling
Message 15 of 20 in “change of git-diff-tree and symlinks”
  1. Kay SieversMay 25, 2005
  2. Linus TorvaldsMay 25, 2005
  3. Kay SieversMay 25, 2005
  4. Junio C HamanoMay 25, 2005
  5. Adjust show-files test for dotfiles.Junio C Hamano, May 25, 2005
  6. Fix type-change handling when assigning the status code to filepairs.Junio C Hamano, May 25, 2005
  7. Kay SieversMay 25, 2005
  8. Junio C HamanoMay 25, 2005
  9. Linus TorvaldsMay 25, 2005
  10. Mode only changes from diff.Junio C Hamano, May 25, 2005
  11. Test case portability fix.Junio C Hamano, May 26, 2005
  12. Linus TorvaldsMay 26, 2005
  13. Junio C HamanoMay 26, 2005
  14. Jochen RoemlingMay 29, 2005
  15. Kay SieversMay 29, 2005
  16. Jochen RoemlingMay 29, 2005
  17. Sebastian KuzminskyMay 29, 2005
  18. Sebastian KuzminskyMay 30, 2005
  19. Junio C HamanoMay 29, 2005
  20. Petr BaudisMay 29, 2005

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.