[tools] Tweak git-blame's output.

This commit is contained in:
Andrew Hamilton 2017-07-08 21:29:56 +01:00
parent 8ecd50848d
commit cf12390dd6

View file

@ -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: