Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Unified Diff: git_hyper_blame.py

Issue 1930813003: git-hyper-blame: Fix pagination (uses less if on a TTY). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_hyper_blame.py
diff --git a/git_hyper_blame.py b/git_hyper_blame.py
index b9965a7a69e7c606097e93632d03f6d64c38023e..80456835907fc659c045bd628f8319e77bdc8248 100755
--- a/git_hyper_blame.py
+++ b/git_hyper_blame.py
@@ -17,6 +17,7 @@ import sys
import git_common
import git_dates
+import setup_color
logging.getLogger().setLevel(logging.INFO)
@@ -385,5 +386,6 @@ def main(args, stdout=sys.stdout, stderr=sys.stderr):
if __name__ == '__main__': # pragma: no cover
+ setup_color.init()
with git_common.less() as less_input:
sys.exit(main(sys.argv[1:], stdout=less_input))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698