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

Re: [PATCH v3] checkout: add --progress option

From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
Date
Nov 1, 2015, 17:43 UTC
Message-ID
<CAOc6etZ7Vcd-Gq6bV6VuzJQY2om7k0gWfGYsSmQ8xYtGvOWBxQ@mail.gmail.com>
In-Reply-To
<1446398545-8245-1-git-send-email-eantoranz@gmail.com>

On Sun, Nov 1, 2015 at 11:22 AM, Edmundo Carmona Antoranz <eantoranz@gmail.com> wrote:

Show 19 quoted lines
> +       /*
> +        * Final processing of show_progress
> +        * - User selected --progress: show progress
> +        * - user selected --no-progress: skip progress
> +        * - User didn't specify:
> +        *     (check rules in order till finding the first matching one)
> +        *     - user selected --quiet: skip progress
> +        *     - stderr is connected to a terminal: show progress
> +        *     - fallback: skip progress
> +        */
> +       if (opts.show_progress < 0) {
> +               /* user selected --progress or didn't specify */
> +               if (opts.quiet) {
> +                       opts.show_progress = 0;
> +               } else {
> +                       opts.show_progress = isatty(2);
> +               }
> +       }
> +

/* user selected --progress or didn't specify */ This comment is not correct. Disregard this patch.

Previous: Edmundo Carmona Antoranz
Message 2 of 2 in “checkout: add --progress option”
  1. checkout: add --progress optionEdmundo Carmona Antoranz, Nov 1, 2015
  2. Edmundo Carmona AntoranzNov 1, 2015

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.