From: Junio C Hamano Date: Mon, 02 Apr 2018 20:34:33 GMT Subject: Re: [PATCH v6 2/6] reset: introduce show-new-head-line option Message-ID: In-Reply-To: <20180331151804.30380-3-t.gummerer@gmail.com> Thomas Gummerer writes: > +test_expect_success 'reset --no-show-new-head-line suppresses "HEAD is now at" output' ' > + git reset --hard --no-show-new-head-line HEAD >actual && > + ! grep "HEAD is now at" +' As builtin/reset.c::print_new_head_line() does this: printf(_("HEAD is now at %s"), hex); this needs to use "test_i18ngrep !" instead, no?