emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 6ddb4bd: Fix 'vc-git--program-version'


From: Glenn Morris
Subject: Re: emacs-26 6ddb4bd: Fix 'vc-git--program-version'
Date: Fri, 16 Feb 2018 11:56:05 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

> commit 6ddb4bd39ac0629e4e06221a41120aee7c18f548

>     * lisp/vc/vc-git.el (vc-git--program-version): Fix the function to
>     work with Git for Windows.
> -                       (string-match "git version \\([0-9.]+\\)$"
> -                                     version-string))
> +                       ;; Git for Windows appends ".windows.N" to the
> +                       ;; numerical version reported by Git.
> +                       (string-match
> +                        "git version \\([0-9.]+\\)\\(\.windows.[0-9]+\\)$"
> +                        version-string))

Surely this breaks on all non-MS Windows platforms?



reply via email to

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