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

Re: [PATCH 1/3] t6501: use --quiet when testing gc stderr

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 19, 2018, 00:36 UTC
Message-ID
<xmqqk1me4vrw.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<90d051a5-8c02-518d-01a7-16746061e6b9@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
Show 7 quoted lines
> This code from builtin/gc.c makes it look like we are doing that:
>
>         if (gc_write_commit_graph)
>                 write_commit_graph_reachable(get_object_directory(), 0,
>                                              !quiet && !daemonized);
>
> But really, daemonized is only for when running in the background.
But that is something we can easily fix, no?

"git grep isatty" tells you that we use isatty(2) to decide if we want to go verbose or show progress. Another frequent use of isatty in our codebase of course is to use of a pager and columnar output formats.

Previous: Derrick StoleeNext: Derrick Stolee via GitGitGadget
Message 5 of 9 in “Use commit-graph by default”
  1. 0/3 Use commit-graph by defaultDerrick Stolee via GitGitGadget, Oct 17, 2018
  2. 1/3 t6501: use --quiet when testing gc stderrDerrick Stolee via GitGitGadget, Oct 17, 2018
  3. Junio C HamanoOct 18, 2018
  4. Derrick StoleeOct 18, 2018
  5. Junio C HamanoOct 19, 2018
  6. 2/3 t: explicitly turn off core.commitGraph as neededDerrick Stolee via GitGitGadget, Oct 17, 2018
  7. 3/3 commit-graph: Use commit-graph by defaultDerrick Stolee via GitGitGadget, Oct 17, 2018
  8. Junio C HamanoOct 18, 2018
  9. Derrick StoleeOct 18, 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.