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

Re: What's in git.git

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 8, 2006, 02:28 UTC
Message-ID
<Pine.LNX.4.63.0607080414210.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vlkr5szi2.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 7 Jul 2006, Junio C Hamano wrote:
>  - Early parts of Perly Git by Petr Baudis with help from others
>    are merged to "next".  Please report breakages before other
>    Perl scripts are converted to use this.

I saw many problems on my machines with this, just as I expected. Please play it _really_ safe. I hated to be forced to rewrite git-fmt-merge-msg in C, but I just could not use 'next' without that. I would hate it even more to rewrite git-mv in C just to make the tests happy (they are not on my iBook right now).

Show 8 quoted lines
>  - GIT_TRACE by Matthias Lederhofer.  What it lets you do is
>    interesting (although I personally do not foresee myself
>    using it), and I am in favor of its inclusion.  The issue
>    that the mechanism does not let you trace some commands
>    (scripts) raised on the list has stalled this topic branch.
>    I'd either want people to agree that it is not a problem, or
>    if they feel it is a problem, have a fix for that, before
>    merging this to "next".

You probably allude to my comments, which were meant more as a hint to go towards C, instead of scripts. There is a lot to be said about C, but the fact is: if you have most of the core of git in C (if not all of it), you have less problems (especially when integrating over _all_ platforms and setups).

As it is, I am all for inclusion of GIT_TRACE support. If need be, everybody can add GIT_TRACE support to the script she is debugging. And if she's nice, she can send a patch to the list, too.

>  - Auto configuration by Pasky and Jakub.  This deserves a fresh
>    paragraph.

I can see why some may want autoconf (or a clone of MPlayer's configure) in git. But the fact is: on many platforms, the Makefile works out of the box. Especially on cygwin, where _any_ shell script -- and autoconf generated scripts in particular -- are slower than a dog's poo, it is _soooo_ much better to be able to just say "make".

Please, please, _please_ keep autoconfiguration _strictly_ opt-in.
>    Linus Torvalds:
>       builtin "git prune"

FWIW, I read the code, too, and I agree it is ready for 'next'. After my first read, I was curious why the parameter "object_array *p" was needed for all the process_* functions. It turned out that add_object() needs this. Just in case anybody else wonders.

Ciao, Dscho

Previous: Junio C HamanoNext: Jakub Narebski
Message 2 of 3 in “What's in git.git”
  1. Junio C HamanoJul 8, 2006
  2. Johannes SchindelinJul 8, 2006
  3. Jakub NarebskiJul 8, 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.