diff options
| author | Mike Frysinger <vapier@google.com> | 2026-05-12 12:19:59 -0400 |
|---|---|---|
| committer | gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2026-05-12 10:04:15 -0700 |
| commit | 7cc99b24c1869d54168708a2df6e6f936c36f980 (patch) | |
| tree | e2bb1235e55d9c57a259b618aa5b4b42eb6dd2da /tests/test_editor.py | |
| parent | 12ad396f6708fa31cc4a979580a9456114b4beaa (diff) | |
| download | git-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_editor.py')
0 files changed, 0 insertions, 0 deletions
