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

Re: [PATCH v2 0/2] Add new "signature" atom

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jun 2, 2023, 07:51 UTC
Message-ID
<CAPig+cRmY3oDJLVKsBgKVZc-bJ7hArzk2eib9Ra5timC=Xz_kA@mail.gmail.com>
In-Reply-To
<xmqqzg5i8gpt.fsf@gitster.g>
On Fri, Jun 2, 2023 at 3:33 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 17 quoted lines
> Kousik Sanagavarapu <five231003@gmail.com> writes:
> > I have also rebased this to be on top of v2.41.0, the previous version
> > was on top of v2.41.0-rc0.
>
> I am still feverish and feeling weak so no real review from me yet,
> but there is one thing that immediately jumped at me.
>
> > 1:  5c97d11b79 ! 1:  87465ef1a8 t/lib-gpg: introduce new prereq GPG2
> >     @@ t/lib-gpg.sh: test_lazy_prereq GPG '
> >      +  test $? != 127 || exit 1
> >      +
> >      +  case "$gpg_version" in
> >     -+  !"gpg (GnuPG) 2."*)
> >     ++  "gpg (GnuPG) 0."* | "gpg (GnuPG) 1.*")
>
> The last '*' being inside double-quote would not be what you
> intended, I suspect?

I noticed that, as well, when running my eye over the range-diff. Moreover, I wondered if using `[01]` to avoid the repetition would be worthwhile:

    case "$gpg_version" in
    "gpg (GnuPG) "[01].*)
though, of course, it's subjective whether that is clearer.
Previous: Junio C HamanoNext: Junio C Hamano
Message 14 of 19 in “Add new "signature" atom”
  1. Kousik SanagavarapuMay 29, 2023
  2. 1/2 t/lib-gpg: introduce new prereq GPG2Kousik Sanagavarapu, May 29, 2023
  3. Christian CouderJun 1, 2023
  4. 2/2 ref-filter: add new "signature" atomKousik Sanagavarapu, May 29, 2023
  5. Christian CouderJun 1, 2023
  6. Christian CouderJun 1, 2023
  7. 0/2 Add new "signature" atomKousik Sanagavarapu, Jun 2, 2023
  8. 1/2 t/lib-gpg: introduce new prereq GPG2Kousik Sanagavarapu, Jun 2, 2023
  9. Christian CouderJun 2, 2023
  10. Kousik SanagavarapuJun 2, 2023
  11. 2/2 ref-filter: add new "signature" atomKousik Sanagavarapu, Jun 2, 2023
  12. Oswald BuddenhagenJun 2, 2023
  13. Junio C HamanoJun 2, 2023
  14. Eric SunshineJun 2, 2023
  15. Junio C HamanoJun 3, 2023
  16. Kousik SanagavarapuJun 2, 2023
  17. 0/2 Add new "signature" atomKousik Sanagavarapu, Jun 4, 2023
  18. 1/2 t/lib-gpg: introduce new prereq GPG2Kousik Sanagavarapu, Jun 4, 2023
  19. 2/2 ref-filter: add new "signature" atomKousik Sanagavarapu, Jun 4, 2023

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.