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

Re: [PATCH] shortlog: initialize nongit variable

From
Jonas Fonseca <jonas.fonseca@gmail.com>
Date
Mar 25, 2008, 19:58 UTC
Message-ID
<2c6b72b30803251258j313e0d94qe290b8b7c7b377f0@mail.gmail.com>
In-Reply-To
<20080325160356.GC6506@neumann>
2008/3/25 SZEDER Gábor <szeder@ira.uka.de>:
>  However, it might be better to let setup_git_directory_gently() set
>  *nongit_ok to 0 if we are in a git repository.  Patch appended.
As the one responsible for introducing this bug into shortlog, I can only agree.
Show 7 quoted lines
>   builtin-bundle.c     |    2 +-
>   builtin-config.c     |    2 +-
>   builtin-diff-files.c |    2 +-
>   builtin-ls-remote.c  |    2 +-
>   git.c                |    2 +-
>   setup.c              |    8 ++++++++
>   6 files changed, 13 insertions(+), 5 deletions(-)

git grep reveals that builtin-{apply,diff}.c, help.c and var.c also belongs on this list.

-- 
Jonas Fonseca
Previous: SZEDER GáborNext: SZEDER Gábor
Message 4 of 5 in “shortlog: initialize nongit variable”
  1. shortlog: initialize nongit variableSZEDER Gábor, Mar 25, 2008
  2. Nguyen Thai Ngoc DuyMar 25, 2008
  3. SZEDER GáborMar 25, 2008
  4. Jonas FonsecaMar 25, 2008
  5. SZEDER GáborMar 25, 2008

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.