From 1e90604620d1a4cc3a3315310ca925eb4cdf7d17 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 8 Apr 2008 16:50:50 +0200 Subject: [PATCH] Squelsh output of update-index when loading the status view (part II) Also include messages from stdout. --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 5359030..a3d2232 100644 --- a/tig.c +++ b/tig.c @@ -3977,7 +3977,7 @@ status_open(struct view *view) return FALSE; } - system("git update-index -q --refresh 2>/dev/null"); + system("git update-index -q --refresh >/dev/null 2>/dev/null"); if (!status_run(view, indexcmd, indexstatus, LINE_STAT_STAGED) || !status_run(view, STATUS_DIFF_FILES_CMD, 0, LINE_STAT_UNSTAGED) || -- 2.30.2