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

Re: [PATCH v6] blame: add support for --[no-]progress option

From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
Date
Dec 13, 2015, 00:40 UTC
Message-ID
<CAOc6etYCZOA9SOxWp3cKuY0z249jeb5vYAhvbLEohYGeVqi6Bg@mail.gmail.com>
In-Reply-To
<CAPig+cQjWgTR9Sd-CutkbuBa1Czp5YApsYoFXc9HS1H08cno7A@mail.gmail.com>
On Sat, Dec 12, 2015 at 6:37 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 10 quoted lines
>>
>> Because, if the user didn't provide --[no-]progress option, then the
>> value in show_progress will move forward being -1 and then in
>> assign_blame, there will be progress output if you chose --incremental
>> or porcelain. So, if you chose --incremental or porcelain, we better
>> set the value to 0 to make sure there will be _no_ progress. Agree?
>
> Yeah, I was thinking of that and had the correct interpretation in
> mind when reading the code, but then blocked it out of my brain for
> some reason when actually composing the response.
Good! So, the only things to modify would be:
- documentation to reflect new policy
- no need to check for show_progress to ask to finish up struct
progress instance.

Let's give some time to allow for more comments before my next patch version.... so, say, 5 minutes.

Previous: Eric Sunshine
Message 8 of 8 in “blame: add support for --[no-]progress option”
  1. blame: add support for --[no-]progress optionEdmundo Carmona Antoranz, Dec 12, 2015
  2. Edmundo Carmona AntoranzDec 13, 2015
  3. Eric SunshineDec 13, 2015
  4. Edmundo Carmona AntoranzDec 13, 2015
  5. Edmundo Carmona AntoranzDec 13, 2015
  6. Eric SunshineDec 13, 2015
  7. Eric SunshineDec 13, 2015
  8. Edmundo Carmona AntoranzDec 13, 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.