unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* git: 'remote-https' is not a git command.
@ 2022-07-23  0:28 Denis 'GNUtoo' Carikli
  2022-09-14 13:57 ` Denis 'GNUtoo' Carikli
  0 siblings, 1 reply; 2+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-07-23  0:28 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

Hi,

In Guix system I've some issues fetching https git repositories:
> $ git fetch https://github.com/archlinux/svntogit-packages
> git: 'remote-https' is not a git command. See 'git --help'.
And if I change the PATH it works:
> $ export PATH=/gnu/store/zaqvjpy7zzvbxxc2wvp728fzzc6bfmm5-git-2.37.0/libexec/git-core/:$PATH
> $ git fetch https://github.com/archlinux/svntogit-packages
> From https://github.com/archlinux/svntogit-packages
>  * branch                      HEAD       -> FETCH_HEAD

If I remove my custom path and make sure my .profile and .bashrc are
not executed I've the same result.

And if I open a new shell, in another repository, git:// works fine:
> $ git fetch git://git.parabola.nu/abslibre.git
> From git://git.parabola.nu/abslibre
>  * branch                HEAD       -> FETCH_HEAD

I'm writing here as I'm not sure if it's a bug or not (git is widely
used so the probability that it's a bug is small here).

Denis.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git: 'remote-https' is not a git command.
  2022-07-23  0:28 git: 'remote-https' is not a git command Denis 'GNUtoo' Carikli
@ 2022-09-14 13:57 ` Denis 'GNUtoo' Carikli
  0 siblings, 0 replies; 2+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-14 13:57 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

Hi,

I'm replying to this old mail as I found the time to investigate it and
I found a workaround.

On Sat, 23 Jul 2022 02:28:25 +0200
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:
> In Guix system I've some issues fetching https git repositories:
> > $ git fetch https://github.com/archlinux/svntogit-packages
> > git: 'remote-https' is not a git command. See 'git --help'.
What happened is that there was some mismatch between git (git:out) that
was installed trough my system.scm and some git packages (like
git:send-email) that I installed through guix package -i.

So to make it work I installed git with guix package -i git to make
sure that it uses the git from my profile and not from the system. 

Denis.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-14 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23  0:28 git: 'remote-https' is not a git command Denis 'GNUtoo' Carikli
2022-09-14 13:57 ` Denis 'GNUtoo' Carikli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).