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

Re: [PATCH v3 1/2] fetch: Protect branches checked out in all worktrees

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Nov 9, 2021, 05:19 UTC
Message-ID
<a1acda2b-7cd0-0c1a-8c60-681d79418872@gmail.com>
In-Reply-To
<alpine.DEB.2.21.999.2111081514460.100671@scrubbing-bubbles.mit.edu>
On 09/11/21 03.15, Anders Kaseorg wrote:
> As a side effect of using find_shared_symref, we’ll also refuse the
> fetch when we’re on a detached HEAD because we’re rebasing or bisecting
> on the branch in question. This seems like a sensible change.
> 

We can say "we'll also refuse fetching when we're on a detached HEAD (for example if we're rebasing on the branch in question or bisecting)."

-- 
An old man doll... just what I always wanted! - Clara
Previous: Anders KaseorgNext: Anders Kaseorg
Message 4 of 5 in “fetch: Protect branches checked out in all worktrees”
  1. 1/2 fetch: Protect branches checked out in all worktreesAnders Kaseorg, Nov 8, 2021
  2. Junio C HamanoNov 8, 2021
  3. Anders KaseorgNov 8, 2021
  4. Bagas SanjayaNov 9, 2021
  5. Anders KaseorgNov 9, 2021

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.