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

Re: [PATCH] fix git alias

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 14, 2006, 13:14 UTC
Message-ID
<Pine.LNX.4.63.0606141507420.16802@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vu06nevse.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 14 Jun 2006, Junio C Hamano wrote:
>  * This would make "git l -n 4" work when you have "alias.l =
>    log -M" in your configuration.  The original code generated
>    an equivalent of "git log -M l -n 4".
Of course, I tested it only with links... (ln git git-l). Thanks.
Show 9 quoted lines
>    There is another more grave problem I seem to be hitting but
>    haven't figured out (and will probably not figure out while
>    away); I'd appreciate if you can track it down.  With
>    "alias.wh = whatchanged --patch-with-stat", "git wh HEAD --
>    mailinfo.c" segfaults at fclose() in git_config_from_file()
>    when it reads the configuration for the second time (the
>    first time being getting the alias).  The second call comes
>    via init_revisions() calling setup_git_directory().  Oddly
>    I do not seem to be able to reproduce this segfault on amd64.
I will do that.

Note that I have a mmap()ed version in the pipeline. I just wanted to wait with that until I manage to implement your cool idea about config rewriting. Obviously, this mmap()ed version does not have this problem.

Ciao, Dscho

Previous: Junio C HamanoNext: Johannes Schindelin
Message 2 of 3 in “fix git alias”
  1. fix git aliasJunio C Hamano, Jun 14, 2006
  2. Johannes SchindelinJun 14, 2006
  3. Johannes SchindelinJun 14, 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.