Re: [PATCHv2] checkout: do not mention detach advice for explicit --detach option

2016-08-12 Thread Remi Galan Alfonso
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 reaso

[PATCHv2] checkout: do not mention detach advice for explicit --detach option

2016-08-11 Thread Stefan Beller
When a user asked for a detached HEAD specifically with `--detach`, we do not need to give advice on what a detached HEAD state entails as we can assume they know what they're getting into as they asked for it. Signed-off-by: Stefan Beller --- jrnieder wrote: > Examples? What do you mean b