Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git clone results in fatal: bad config line 5 in file .git/config #18

Open
vaskas opened this issue Dec 22, 2019 · 6 comments
Open

git clone results in fatal: bad config line 5 in file .git/config #18

vaskas opened this issue Dec 22, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@vaskas
Copy link
Member

vaskas commented Dec 22, 2019

Steps to reproduce

  1. Try to clone a repo a few times, e.g.:
git clone https://git.suckless.org/ii
  1. See the operation fail most times with:
fatal: bad config line 5 in file .git/config

Expected result

The repository should be cloned at all times.

Work around

Keep re-trying. Try not to smash your phone if it's still not working.

@vaskas vaskas added the bug Something isn't working label Dec 22, 2019
@vaskas
Copy link
Member Author

vaskas commented Dec 22, 2019

@yamsergey the new version (2.24.1) doesn't fix this apparently

@karawitan
Copy link
Collaborator

obviously linked to the fact that QNX is an RTOS ...
http://www.qnx.com/developers/docs/6.4.1/neutrino/getting_started/s1_inter.html

@yamsergey
Copy link
Collaborator

🤔 means we should adjust git sources to disable interrupt while it's checking out?

@karawitan
Copy link
Collaborator

Yep, sort of .. don't know the exact details of what we should do, but sounds like implementing the first patches git on a real time os :)
Would behave like "trap" does at shell level when receiving a sigkill signal for example ...

@karawitan
Copy link
Collaborator

karawitan commented Dec 27, 2019

I had made some tries to fix this without success:

See:
ports-wip/git/patches/progress-c-no-sa-restart.patch
ports-wip/git/patches/fast-import-c-no-sa-restart.patch
https://github.com/berryamin/berrymuch/pull/22/files#diff-3e9ed3f4fb01f5a49fd35c6530571d20

@yamsergey
Copy link
Collaborator

I also did some investigation quite long ago. mordak#7 (comment) , not a lot but maybe a way to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants