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

Re: Missing git options

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Feb 6, 2018, 00:43 UTC
Message-ID
<20180206004313.GC7904@genre.crustytoothpaste.net>
In-Reply-To
<AD196D8E-04DB-4274-ADEB-D914A79628B3@schwarz-online.org>
On Mon, Feb 05, 2018 at 10:12:05AM +0100, Martin Häcker wrote:
Show 17 quoted lines
> Hi there,
> 
> I just recently learned that not all command line switches seem to automatically correlate to options in the git configuration.
> 
> This seems something that should be relatively easy to fix.
> 
> What I’m most missing is
> 
> — snip —
> [log]
> 	graph = true
> 	patch = true
> — snap —
> 
> which would / should correspond to `git log —graph —patch`.
> 
> What do you guys think?

I think this is likely to cause problems. Many people use git log with --pretty to format commit hashes or messages into other programs. I'm aware of multiple tools that will simply break if --graph or --patch become the default. Requiring people to retrofit their tools to use --no-graph or --no-patch is likely to be a burden.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
Previous: Ævar Arnfjörð BjarmasonNext: Martin Häcker
Message 5 of 8 in “Missing git options”
  1. Martin HäckerFeb 5, 2018
  2. Stefan BellerFeb 5, 2018
  3. Junio C HamanoFeb 5, 2018
  4. Ævar Arnfjörð BjarmasonFeb 5, 2018
  5. brian m. carlsonFeb 6, 2018
  6. Martin HäckerFeb 6, 2018
  7. Duy NguyenFeb 6, 2018
  8. Jonathan NiederFeb 6, 2018

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.