]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: don't print shell commands as python lists
authorJoel Holdsworth <jholdsworth@nvidia.com>
Thu, 6 Jan 2022 21:40:35 +0000 (21:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jan 2022 22:55:12 +0000 (14:55 -0800)
commit727e6ea3506c36c3dd871bd8ef259bcbf7ba6be4
tree006cda997082311a47f8dfc2d2e43c4907de1b53
parent8a470599f340e2e2bcf96f0b267199de321edef2
git-p4: don't print shell commands as python lists

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 are list objects, this patch instead joins the
elements of the list into a single string so the output now looks more
readable:

Reading pipe: git config --bool git-p4.useclientspec

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py