summaryrefslogtreecommitdiffstats
path: root/tests/test_error.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2026-05-12 12:19:59 -0400
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-05-12 10:04:15 -0700
commit7cc99b24c1869d54168708a2df6e6f936c36f980 (patch)
treee2bb1235e55d9c57a259b618aa5b4b42eb6dd2da /tests/test_error.py
parent12ad396f6708fa31cc4a979580a9456114b4beaa (diff)
downloadgit-repo-7cc99b24c1869d54168708a2df6e6f936c36f980.tar.gz
git_config: fix error message command output
str() inside an f-string is redundant. Actually join the array together as a string to show a proper error message, and include the full command line, not the extra options passed in. Before: error.GitError: git config ('--null', '--list'): fatal: unable to read config file 'xxx': No such file or directory After: error.GitError: git config --system --includes --null --list: fatal: unable to read config file 'xxx': No such file or directory Change-Id: I8983389aa2e0de7808991e73e636b77810f04c4b Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/582341 Commit-Queue: Mike Frysinger <vapier@google.com> Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'tests/test_error.py')
0 files changed, 0 insertions, 0 deletions