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

Re: [GSOC 2014]idea:Git Configuration API Improvement

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Mar 21, 2014, 08:23 UTC
Message-ID
<vpqob10dko5.fsf@anie.imag.fr>
In-Reply-To
<1395350103-4899-1-git-send-email-zhaox383@umn.edu>
Yao Zhao <zhaox383@umn.edu> writes:
> Moy, thanks for explaining. You said API should be hided. Is that
> means I should indicate an arbitary feature in old version or new
> feature we added should be linked to a manipulation of inner
> structure? And I need to find the connection to make this abstraction?
Sorry, I do not understand what you mean.

The new code should be backward compatible with the old one, that is: existing code using git_config() should continue working. There are a lot of git_config() calls in the codebase, and a GSoC won't have time to change them all into something new.

This does not mean we can't add new features, both on the file parsing side (add the ability to unset a key) and on the user API side (allow getting the value of a key more easily).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Yao ZhaoNext: Matthieu Moy
Message 6 of 7 in “[GSOC 2014]idea:Git Configuration API Improvement”
  1. Yao ZhaoMar 20, 2014
  2. Michael HaggertyMar 20, 2014
  3. Matthieu MoyMar 20, 2014
  4. Junio C HamanoMar 20, 2014
  5. Yao ZhaoMar 20, 2014
  6. Matthieu MoyMar 21, 2014
  7. Matthieu MoyMar 21, 2014

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.