From: Remi Galan Alfonso Date: Fri, 12 Aug 2016 08:09:38 GMT Subject: Re: [PATCHv2] checkout: do not mention detach advice for explicit --detach option Message-ID: <2038600423.1215501.1470989378002.JavaMail.zimbra@ensimag.grenoble-inp.fr> In-Reply-To: <20160812002947.1582-1-sbeller@google.com> Stefan Beller writes: > +test_expect_success 'no advice given for explicit detached head state' ' > + git config advice.detachedHead false && > + git checkout child && > + git checkout --detach HEAD >expect && > + git config advice.detachedHead true && Is there a reason for not unsetting `advice.detachedHead` at the end of the test? Thanks, Rémi