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

Re: [PATCH 3/3] git-p4: don't print shell commands as python lists

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jan 6, 2022, 17:09 UTC
Message-ID
<CAPig+cTeh=PKsvftWL_WPKBzqYkNr3+rEfqAgOsyksROBk8q1Q@mail.gmail.com>
In-Reply-To
<20220105161451.56378-4-jholdsworth@nvidia.com>
On Thu, Jan 6, 2022 at 7:54 AM Joel Holdsworth <jholdsworth@nvidia.com> wrote:
Show 9 quoted lines
> Previously the git-p4 script would log commands as stringified
> representations of the command parameter, leading to output such as
> this:
>
> Reading pipe: ['git', 'config', '--bool', 'git-p4.useclientspec']
>
> Now that all commands list objects, this patch instead joins the
> elements of the list into a single string so the output now looks more
> readable:
s/commands list/commands are list/
> Reading pipe: git config --bool git-p4.useclientspec
>
> Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Previous: Joel Holdsworth
Message 6 of 6 in “git-p4: Rationalise command construction”
  1. 0/3 git-p4: Rationalise command constructionJoel Holdsworth, Jan 5, 2022
  2. 1/3 git-p4: don't select shell mode using the type of the command argumentJoel Holdsworth, Jan 5, 2022
  3. Eric SunshineJan 6, 2022
  4. 2/3 git-p4: pass command arguments as lists instead of using shellJoel Holdsworth, Jan 5, 2022
  5. 3/3 git-p4: don't print shell commands as python listsJoel Holdsworth, Jan 5, 2022
  6. Eric SunshineJan 6, 2022

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.