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

Re: [PATCH] shortlog: initialize nongit variable

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Mar 25, 2008, 15:39 UTC
Message-ID
<fcaeb9bf0803250839p721e1870l8fbc8715b3c6e7cb@mail.gmail.com>
In-Reply-To
<1206456377-2735-1-git-send-email-szeder@ira.uka.de>
On Tue, Mar 25, 2008 at 9:46 PM, SZEDER Gábor <szeder@ira.uka.de> wrote:
> setup_git_directory_gently() only modifies the value of the nongit
>  variable if we are not in a git repository, therefore nongit is left
>  uninitialized if we are in a git repository.  This sometimes broke
>  shortlog when it was not fed with a log on its standard input.

cmd_help() has the same problem. Can you make a similar patch for cmd_help as well?

Thanks
-- 
Duy
Previous: SZEDER GáborNext: SZEDER Gábor
Message 2 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.