git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Remi Galan Alfonso <remi.galan-alfonso@ensimag.grenoble-inp.fr>
Date
Aug 12, 2016, 08:09 UTC
Message-ID
<2038600423.1215501.1470989378002.JavaMail.zimbra@ensimag.grenoble-inp.fr>
In-Reply-To
<20160812002947.1582-1-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
Show 5 quoted lines
> +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

Previous: Stefan Beller
Message 2 of 2 in “[PATCHv2] checkout: do not mention detach advice for explicit --detach option”
  1. Stefan BellerAug 12, 2016
  2. Remi Galan AlfonsoAug 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.