From 8fee6614be3b0fe4b1f65e5746be05b67737a22a Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 23 Aug 2006 00:12:57 +0200 Subject: [PATCH] Silence stderr for all view commands When quickly scrolling through commits with the split diff view, they was spewing 'Broken pipe' messages onto the screen. --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index f110dae..b2e1a36 100644 --- a/tig.c +++ b/tig.c @@ -74,13 +74,13 @@ static size_t utf8_length(const char *string, size_t max_width, int *coloffset, "git ls-remote . 2>/dev/null" #define TIG_DIFF_CMD \ - "git show --patch-with-stat --find-copies-harder -B -C %s" + "git show --patch-with-stat --find-copies-harder -B -C %s 2>/dev/null" #define TIG_LOG_CMD \ - "git log --cc --stat -n100 %s" + "git log --cc --stat -n100 %s 2>/dev/null" #define TIG_MAIN_CMD \ - "git log --topo-order --pretty=raw %s" + "git log --topo-order --pretty=raw %s 2>/dev/null" /* XXX: Needs to be defined to the empty string. */ #define TIG_HELP_CMD "" -- 2.11.0