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

Re: [PATCH] config.c: Remove unused git_config_global() function

From
Junio C Hamano <gitster@pobox.com>
Date
May 31, 2011, 17:51 UTC
Message-ID
<7vy61miws5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4DE5241E.9030000@ramsay1.demon.co.uk>
Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
Show 5 quoted lines
> Commit 8f323c00 (drop support for GIT_CONFIG_NOGLOBAL, 15-03-2011)
> removed the git_config_global() function, among other things, since
> it is no longer required. Unfortunately, this function has since
> been unintentionally restored; I suspect by merge commit 25b86e45
> (Merge branch 'jk/maint-config-alias-fix' into next, 25-05-2011).

Yeah, I think it was 1f9a980636 which was a merge between fb674d7 and 73546c0. I just compared the output between these two:

   $ git diff fb674d7...73546c0 -- config.c ;# what the topic did
   $ git diff fb674d7 1f9a980 -- config.c   ;# what was merged

and indeed I can see these four lines snuck in by accidental faulty conflict resolution. My bad.

Thanks for spotting.
Previous: Ramsay JonesNext: Stephen Bash
Message 2 of 5 in “config.c: Remove unused git_config_global() function”
  1. config.c: Remove unused git_config_global() functionRamsay Jones, May 31, 2011
  2. Junio C HamanoMay 31, 2011
  3. Effectively navigating branch history (was: Re: [PATCH] config.c: Remove unused git_config_global() function)Stephen Bash, May 31, 2011
  4. Junio C HamanoMay 31, 2011
  5. Stephen BashMay 31, 2011

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.