bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49855: Problem with GNU ELPA build of :core package (Re: [GNU ELPA]


From: Stefan Monnier
Subject: bug#49855: Problem with GNU ELPA build of :core package (Re: [GNU ELPA] So-Long version 1.1)
Date: Thu, 05 Aug 2021 10:32:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Git 2.22 Release Notes
> ======================
>  * "git log -L<from>,<to>:<path>" with "-s" did not suppress the patch
>    output as it should.  This has been corrected.
>    (merge 05314efaea jk/line-log-with-patch later to maint).
>
> I don't know whether there's any reason to support older git
> versions, but I'm using git 2.17.1 and so the command generated
> by `elpaa--get-release-revision' gives me this:
>
> $ git log -n1 --no-patch --pretty=format:%H -L '/^;;*
> *\(Package-\)\?Version:/,+1:lisp/so-long.el'
> b84986af52d4e9debace2850a5ec106f51e38e61
> diff --git a/lisp/so-long.el b/lisp/so-long.el
> --- a/lisp/so-long.el
> +++ b/lisp/so-long.el
> @@ -11,1 +11,1 @@
> -;; Version: 1.1
> +;; Version: 1.1.1
>
> I didn't twig initially that I wasn't seeing the intended
> output, and spent a while fruitlessly wondering where in the
> elisp that got trimmed down to a single line...

Interesting.  `elpa.gnu.org` is running a more recent version of Git
because the older Git crashed in this same `elpaa--get-release-revision`
in some cases :-(

Debian stable is still on Git-2.20 so it might be worth adding
a workaround in `elpaa--get-release-revision` (tho a new Debian release
is due any day now, IIUC).


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]