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

Re: [v4] refspec: add support for negative refspecs

From
Jacob Keller <jacob.keller@gmail.com>
Date
Sep 30, 2020, 22:00 UTC
Message-ID
<CA+P7+xoTXrjik5fqSN1Qndek8hyaSdTtn=88hRnxLCmRMhdQyg@mail.gmail.com>
In-Reply-To
<CAPig+cQUeQV0=LDQ_tY43k6z7km4X6Fm9JJVPUBoG=wY3gxDfw@mail.gmail.com>
On Wed, Sep 30, 2020 at 2:34 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 10 quoted lines
>
> On Wed, Sep 30, 2020 at 5:26 PM Jacob Keller <jacob.e.keller@intel.com> wrote:
> > Changes since v3
> > * removed the ?: usage (for real this time)
> >
> > +               /* Note the reversal of src and dst */
> > +               if (refspec->pattern) {
> > +                       const char *key = refspec->dst ?: refspec->src;
>
> Blorp.
.... I am very confused....   I made this change...
$git diff doesn't show anything...
Oh.. wooooops. git status has it as staged but not applied..
Sigh. I sent another round.
Previous: Jacob Keller
Message 5 of 5 in “[v4] refspec: add support for negative refspecs”
  1. Jacob KellerSep 30, 2020
  2. Eric SunshineSep 30, 2020
  3. Junio C HamanoSep 30, 2020
  4. Jacob KellerSep 30, 2020
  5. Jacob KellerSep 30, 2020

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.