[tools] Tweak git-blame's output.
This commit is contained in:
parent
8ecd50848d
commit
cf12390dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -727,7 +727,7 @@ def git_diff(path): # FIX: Add to tools_test.py
|
||||||
@deps(deps={"git"}, url="git")
|
@deps(deps={"git"}, url="git")
|
||||||
def git_blame(path): # FIX: Add to tools_test.py
|
def git_blame(path): # FIX: Add to tools_test.py
|
||||||
stdout, stderr, returncode = _do_command(
|
stdout, stderr, returncode = _do_command(
|
||||||
["git", "blame", "--show-stats", path])
|
["git", "blame", "--show-stats", "--date=short", path])
|
||||||
if returncode == 0:
|
if returncode == 0:
|
||||||
return Status.normal, fill3.Text(stdout)
|
return Status.normal, fill3.Text(stdout)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue