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

Re: [PATCH] fast-import: Allow "reset" to delete a new branch without error

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 16, 2008, 21:17 UTC
Message-ID
<7vfxuqid2g.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<283B81B0-4493-41DC-A575-F72910B1EFFA@orakel.ntnu.no>
Eyvind Bernhardsen <eyvind-git@orakel.ntnu.no> writes:
Show 8 quoted lines
> On 16. mars. 2008, at 05.12, Shawn O. Pearce wrote:
>
>> I think this is a slightly better patch, as it avoids creating a
>> lock file around the ref if we aren't going to actually alter it.
>
> Yes, that's a much better patch, and since you pointed out that
> existing branches won't be deleted, here it is again with a better
> commit message.  Thanks!
I'll add Acked-by from Shawn and apply.  Thanks, both.
Previous: Eyvind Bernhardsen
Message 4 of 4 in “fast-import: allow "reset" without "from" to delete a branch”
  1. fast-import: allow "reset" without "from" to delete a branchEyvind Bernhardsen, Mar 15, 2008
  2. Shawn O. PearceMar 16, 2008
  3. fast-import: Allow "reset" to delete a new branch without errorEyvind Bernhardsen, Mar 16, 2008
  4. Junio C HamanoMar 16, 2008

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.