[llvm-dev] Was there a recent git script change?

via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 29 08:33:35 PDT 2019


I see that there's no required minimum version of 'git' listed on the Getting Started page
https://llvm.org/docs/GettingStarted.html
might want to add one?
--paulr

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Stefan Gränitz via llvm-dev
Sent: Monday, July 29, 2019 11:19 AM
To: Sam McCall
Cc: llvm-dev
Subject: Re: [llvm-dev] Was there a recent git script change?

You can propose a change for that, but note that it is there (at least) since https://git-scm.com/docs/git-remote/2.9.3, which is 3 years old now.
On 29/07/2019 17:14, Sam McCall wrote:
"git remote get-url" is apparently fairly new, the old version is "git config remote.origin.url".

Might be worth using that for compatibility.

On Mon, Jul 29, 2019, 5:11 PM Stefan Gränitz <stefan.graenitz at gmail.com<mailto:stefan.graenitz at gmail.com>> wrote:
Hey Cam, it works for me on TOT (89fb9e8ce15).

What does the failed command return for you? It should be:

> git remote get-url origin
https://github.com/llvm/llvm-project.git

Best,
Stefan

On 29/07/2019 15:12, Cameron McInally wrote:
> Hey llvm-dev,
>
> Was there a recent git script change that I missed? The usual command
> no longer works on my local machine. Any ideas?
>
> llvm-project/llvm> git llvm push -n
> `git remote get-url origin` returned 129
> error: Unknown subcommand: get-url
>
> Thanks,
> Cam

--
https://flowcrypt.com/pub/stefan.graenitz@gmail.com

--

https://flowcrypt.com/pub/stefan.graenitz@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/35ab9ce8/attachment-0001.html>


More information about the llvm-dev mailing list