tools: Fix git_blame and git_log results not displaying correctly.
This commit is contained in:
parent
6d6e4442ae
commit
139ddc681f
1 changed files with 4 additions and 4 deletions
|
|
@ -407,8 +407,8 @@ def git_blame(path):
|
||||||
"--color-by-age", path], text=True, capture_output=True)
|
"--color-by-age", path], text=True, capture_output=True)
|
||||||
status = (Status.normal if process.returncode == 0
|
status = (Status.normal if process.returncode == 0
|
||||||
else Status.not_applicable)
|
else Status.not_applicable)
|
||||||
return status, fill3.Fixed(termstr.TermStr.from_term(
|
return status, fill3.Text(termstr.TermStr.from_term(
|
||||||
process.stdout + process.stderr). splitlines())
|
process.stdout + process.stderr))
|
||||||
|
|
||||||
|
|
||||||
@deps(deps={"git"}, url="https://git-scm.com/docs/git-log",
|
@deps(deps={"git"}, url="https://git-scm.com/docs/git-log",
|
||||||
|
|
@ -419,8 +419,8 @@ def git_log(path):
|
||||||
capture_output=True)
|
capture_output=True)
|
||||||
status = (Status.normal if process.returncode == 0
|
status = (Status.normal if process.returncode == 0
|
||||||
else Status.not_applicable)
|
else Status.not_applicable)
|
||||||
return status, fill3.Fixed(termstr.TermStr.from_term(
|
return status, fill3.Text(termstr.TermStr.from_term(
|
||||||
process.stdout + process.stderr). splitlines())
|
process.stdout + process.stderr))
|
||||||
|
|
||||||
|
|
||||||
@deps(deps={"tidy"}, url="tidy", executables={"tidy"})
|
@deps(deps={"tidy"}, url="tidy", executables={"tidy"})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue