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

Re: [PATCH v3] use delete_refs when deleting tags or branches

From
Phil Hord <phil.hord@gmail.com>
Date
Jan 22, 2021, 00:27 UTC
Message-ID
<CABURp0pqdK+Mrqi=r40YeUitaB2s44iYO=2UFFSh0UC_o4Mosg@mail.gmail.com>
In-Reply-To
<xmqqpn1xalav.fsf@gitster.c.googlers.com>
On Thu, Jan 21, 2021 at 4:05 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
>
> Phil Hord <phil.hord@gmail.com> writes:
>
> > diff --git builtin/branch.c builtin/branch.c
> > index 8c0b428104..bcc00bcf18 100644
> > --- builtin/branch.c
> > +++ builtin/branch.c
>
> You wasted 15 minutes of my life by choosing to deviate the list
> norm of sending what "git apply -p1" (default) would accept.  I am
> fairly trusting type and did not suspect anybody do such an evil
> thing.  Why?

Oof. Sorry. I forgot I have diff.noprefix=true in my local config. It is a huge timesaver for me when looking at diffs on a console since I can quickly highlight the filename with a mouse to paste into an editor.

Sometimes it bites me, though. Usually I notice in the diff, but this one I was sending with format-patch / send-email.

I guess I'll turn that off in git.git so I don't misfire at you again someday.
Phil
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “use delete_refs when deleting tags or branches”
  1. use delete_refs when deleting tags or branchesPhil Hord, Jan 21, 2021
  2. Junio C HamanoJan 22, 2021
  3. Phil HordJan 22, 2021
  4. Junio C HamanoJan 22, 2021
  5. Phil HordJan 22, 2021
  6. Junio C HamanoJan 22, 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.