[Buildroot] [Bug 14841] support/download/git fails with "fatal: No such remote 'origin'" due to incorrect check for origin remote
bugzilla at busybox.net
bugzilla at busybox.net
Tue Jun 14 19:55:59 UTC 2022
https://bugs.busybox.net/show_bug.cgi?id=14841
Yann E. MORIN <yann.morin.1998 at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
--- Comment #2 from Yann E. MORIN <yann.morin.1998 at free.fr> ---
Hello,
Thanks for the report.
I'll be quoting what Edgar explained on the mailing list [0]:
---
I cannot reproduce this. My copy of git does not print “origin” if there
is no remote named such:
$ git --version
git version 2.25.1
$ git init foo
Initialized empty Git repository in /home/edgar/foo/.git/
$ cd foo/
$ git remote | grep '^origin$'
$ # <- empty output
I also tried with both a quite old and a fairly recent version of git
(2.11.0 from Debian Stretch and 2.35.1 from Debian Testing) with the
same result.
---
I also tried the same as Edgar, and I too can't reproduce.
Can you provide more information, please?
[0]
https://lore.kernel.org/buildroot/acae6f60-f71c-76fe-b9fe-0779d758c1c0@grenoble.cnrs.fr/T/#t
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the buildroot
mailing list