From 6bc9f975323a4f43cd5d2ba90df3dbd5c12b42cd Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 5 Apr 2008 00:40:43 +0200 Subject: [PATCH] Squelsh output of update-index when loading the status view --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) || -- 2.30.2