From: Jochen Roemling <jochen@roemling.net>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: change of git-diff-tree and symlinks
Date: Sun, 29 May 2005 16:16:53 +0200 [thread overview]
Message-ID: <4299CED5.5070508@roemling.net> (raw)
In-Reply-To: <20050525111711.GA27492@vrfy.org>
Hello Kay,
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:
>Hi,
>I'm catching up with gitweb.cgi to parse the changed output. Works fine
>so far and is really much easier to parse. Here is something that does
>not work anymore. See the difference between:
>
> http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=commit;h=49cedafaf893bfe348eb7598227f1a11ae24bfd6
> http://ehlo.org/~kay/gitweb.cgi?p=linux/hotplug/udev.git;a=commit;h=49cedafaf893bfe348eb7598227f1a11ae24bfd6
>
>On my box is the lates git with the adapted gitweb.cgi. Here is the raw
>output of the old git-diff-tree:
> kay@dhcp-188:~/src/udev> /home/kay/src/cogito/git-diff-tree -r 49cedafaf893bfe348eb7598227f1a11ae24bfd6 17f2b1a7e0d10334af7f9622848788add125dea8
> *120000->100644 blob 2d78258b1a0fe49afabc8c16a352117df5dc338a->2d78258b1a0fe49afabc8c16a352117df5dc338a test/sys/block/cciss!c0d0/device
> *120000->100644 blob 2d78258b1a0fe49afabc8c16a352117df5dc338a->2d78258b1a0fe49afabc8c16a352117df5dc338a test/sys/block/rd!c0d0/device
> *120000->100644 blob 2d78258b1a0fe49afabc8c16a352117df5dc338a->2d78258b1a0fe49afabc8c16a352117df5dc338a test/sys/block/sda/device
> *120000->100644 blob 1c776568bdc9dc750addd0885dded6b008a44460->1c776568bdc9dc750addd0885dded6b008a44460 test/sys/bus/pci/devices/0000:00:09.0
> *120000->100644 blob e000c77614a23ad57fed284bd007ed7c1cb7872e->e000c77614a23ad57fed284bd007ed7c1cb7872e test/sys/bus/pci/devices/0000:00:1e.0
> ...
>
>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.
After investigating further, I found out that the object type ("blob" in
the example above) is no longer printed by git-diff-tree.
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.
Unfortunately my perl knowledge is really poor and I didn't get it to
work. After I changed the call to git-diff-tree to use the '-p' switch,
I'm getting a "403 Forbidden - Reading diff-tree failed" message, but
the same command on the command line works perfectly well. I don't know
what is wrong there.
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.
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...
... keep up the great work!
Jochen
next prev parent reply other threads:[~2005-05-29 14:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 11:17 change of git-diff-tree and symlinks Kay Sievers
2005-05-25 18:08 ` Linus Torvalds
2005-05-25 18:35 ` Kay Sievers
2005-05-25 19:40 ` Junio C Hamano
2005-05-25 22:06 ` [PATCH] Adjust show-files test for dotfiles Junio C Hamano
2005-05-25 22:07 ` [PATCH] Fix type-change handling when assigning the status code to filepairs Junio C Hamano
2005-05-25 22:26 ` change of git-diff-tree and symlinks Kay Sievers
2005-05-25 22:43 ` Junio C Hamano
2005-05-25 22:47 ` Linus Torvalds
2005-05-25 23:00 ` [PATCH] Mode only changes from diff Junio C Hamano
2005-05-26 2:11 ` [PATCH] Test case portability fix Junio C Hamano
2005-05-26 2:36 ` Linus Torvalds
2005-05-26 2:55 ` Junio C Hamano
2005-05-29 14:16 ` Jochen Roemling [this message]
2005-05-29 15:06 ` change of git-diff-tree and symlinks Kay Sievers
2005-05-29 16:06 ` Jochen Roemling
2005-05-29 16:14 ` Sebastian Kuzminsky
2005-05-30 3:17 ` Sebastian Kuzminsky
2005-05-29 18:55 ` Junio C Hamano
2005-05-29 21:32 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4299CED5.5070508@roemling.net \
--to=jochen@roemling.net \
--cc=git@vger.kernel.org \
--cc=kay.sievers@vrfy.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).