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

The bundled Git cannot understand ~/.gitconfig #692

Open
pravic opened this issue Oct 8, 2024 · 0 comments
Open

The bundled Git cannot understand ~/.gitconfig #692

pravic opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pravic
Copy link

pravic commented Oct 8, 2024

When I try to use the latest ExpressLRS Configurator 1.76, I get an error during the Download stage, although the error doesn't tell anything, really:

image

If I switch to the Backpack section, I get a more useful error:

image

It comes from my ~/.gitconfig:

[branch]
  autoSetupMerge = simple

The error happens because the bundled Git is quite outdated and doesn't recognize the branch.autoSetupMerge=simple option.

To fix this, the bundled Git (being portable) should use a separate config (perhaps, empty) and should not look at the user configuration.

Expected Behavior

The bundled Git should use its own config file.

Also, errors from the Download stage should be displayed in UI.

And the logs should be more descriptive.

Current Behavior

It tries to use the system configuration which is newer - and falls with an error.

There is no error in UI - and the logs aren't helping either:

image

Steps to Reproduce

  1. git config --global branch.autoSetupMerge simple
  2. Goto Configuration
  3. Press Flash

Possible Solution (Not obligatory)

To fix this, the bundled Git (being portable) should use a separate config (perhaps, empty) and should not look at the user configuration.

Context

Your Environment

  • Operating System and version: macOS 14.6.1
  • git 2.47.0
  • TX hardware: TX16S
  • RX hardware: N/A
@pravic pravic added the bug Something isn't working label Oct 8, 2024
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

1 participant