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

Re: Fwd: git clone does not respect command line options

From
Jacob Keller <jacob.keller@gmail.com>
Date
Feb 26, 2016, 08:15 UTC
Message-ID
<CA+P7+xpuiUQgWYRgVrwKkv27KiJGQ0COrR93cFzQzn2uVA6ypQ@mail.gmail.com>
In-Reply-To
<20160226075948.GA26994@sigill.intra.peff.net>
On Thu, Feb 25, 2016 at 11:59 PM, Jeff King <peff@peff.net> wrote:
Show 7 quoted lines
> Right. The "git-config" program doesn't know about the semantics of
> particular values (remember that in the early days, there were many
> porcelains which built on top of git, and they could all store their own
> config). Using "--get" implements "last one wins" semantics, which
> is what most config variables want. You can use "--get-all" to see all
> instances of a multi-valued variable.
>

And note that several libraries of hooks and git extensions store configuration there as well, not just traditional porcelain. (Though maybe that is considered porcelain? Not really sure on the term here). I do this myself for several custom git hooks.

Thanks, Jake

Previous: Jeff KingNext: Jeff King
Message 5 of 12 in “Fwd: git clone does not respect command line options”
  1. GuilhermeFeb 26, 2016
  2. Jeff KingFeb 26, 2016
  3. GuilhermeFeb 26, 2016
  4. Jeff KingFeb 26, 2016
  5. Jacob KellerFeb 26, 2016
  6. Jeff KingFeb 26, 2016
  7. Duy NguyenFeb 26, 2016
  8. Jeff KingFeb 26, 2016
  9. Junio C HamanoFeb 26, 2016
  10. GuilhermeFeb 28, 2016
  11. Jeff KingFeb 26, 2016
  12. Jeff KingFeb 28, 2016

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.