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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Beller <sbeller@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]