Sam McCall via llvm-dev
2019-Jul-29 15:14 UTC
[llvm-dev] Was there a recent git script change?
"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> 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 at gmail.com > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/a162c79e/attachment.html>
Stefan Gränitz via llvm-dev
2019-Jul-29 15:18 UTC
[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 at gmail.com >-- https://flowcrypt.com/pub/stefan.graenitz at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/ff9d5291/attachment.html>
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 originhttps://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 at gmail.com -- https://flowcrypt.com/pub/stefan.graenitz at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/35ab9ce8/attachment-0001.html>
Cameron McInally via llvm-dev
2019-Jul-29 16:07 UTC
[llvm-dev] Was there a recent git script change?
Thanks for the quick replies, everyone. We managed to have a new git installed on our local boxes, so this is no longer an issue for me. Thanks again, Cam On Mon, Jul 29, 2019 at 11:19 AM Stefan Gränitz <stefan.graenitz at gmail.com> wrote:> 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 > <https://urldefense.proofpoint.com/v2/url?u=https-3A__git-2Dscm.com_docs_git-2Dremote_2.9.3&d=DwMDaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=O_4M49EtSpZ_-BQYeigzGv0P4__noMcSu2RYEjS1vKs&m=gqpAlWqmeN8lCMgpAf6_IcnnSqD5rFB8zeFTeOQm3S4&s=G2nvgtbBxQKWyq6VGiRivMmrdMiKXxNEZYvrZkVDLqw&e=>, > 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> > 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 >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_llvm_llvm-2Dproject.git&d=DwMDaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=O_4M49EtSpZ_-BQYeigzGv0P4__noMcSu2RYEjS1vKs&m=gqpAlWqmeN8lCMgpAf6_IcnnSqD5rFB8zeFTeOQm3S4&s=_LL-VVMXc1WZIhqjvt1czKVF59EcQr-OTkAbpzWqO4Y&e=> >> >> 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 at gmail.com >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__flowcrypt.com_pub_stefan.graenitz-40gmail.com&d=DwMDaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=O_4M49EtSpZ_-BQYeigzGv0P4__noMcSu2RYEjS1vKs&m=gqpAlWqmeN8lCMgpAf6_IcnnSqD5rFB8zeFTeOQm3S4&s=FDpgh-0wbKRjfH41tHrkPOoSaDZ22UjnAqzkKW9zlt4&e=> >> >> -- https://flowcrypt.com/pub/stefan.graenitz at gmail.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__flowcrypt.com_pub_stefan.graenitz-40gmail.com&d=DwMDaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=O_4M49EtSpZ_-BQYeigzGv0P4__noMcSu2RYEjS1vKs&m=gqpAlWqmeN8lCMgpAf6_IcnnSqD5rFB8zeFTeOQm3S4&s=FDpgh-0wbKRjfH41tHrkPOoSaDZ22UjnAqzkKW9zlt4&e=> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190729/ffcb4d86/attachment.html>