From: Jonas Fonseca Date: Fri, 4 Apr 2008 22:40:43 +0000 (+0200) Subject: Squelsh output of update-index when loading the status view X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6bc9f975323a4f43cd5d2ba90df3dbd5c12b42cd;p=tig.git Squelsh output of update-index when loading the status view --- diff --git a/tig.c b/tig.c index 391d56f..9d694e1 100644 --- a/tig.c +++ b/tig.c @@ -3980,7 +3980,7 @@ status_open(struct view *view) return FALSE; } - system("git update-index -q --refresh"); + system("git update-index -q --refresh 2>/dev/null"); if (!status_run(view, indexcmd, indexstatus, LINE_STAT_STAGED) || !status_run(view, STATUS_DIFF_FILES_CMD, 0, LINE_STAT_UNSTAGED) ||