From: Jonas Fonseca Date: Tue, 8 Apr 2008 14:50:50 +0000 (+0200) Subject: Squelsh output of update-index when loading the status view (part II) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1e90604620d1a4cc3a3315310ca925eb4cdf7d17;p=tig.git Squelsh output of update-index when loading the status view (part II) Also include messages from stdout. --- 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) ||