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 binary #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Git binary #68

wants to merge 1 commit into from

Conversation

honnip
Copy link
Collaborator

@honnip honnip commented Sep 30, 2024

Closes #67

@honnip
Copy link
Collaborator Author

honnip commented Sep 30, 2024

bot, build

@flathubbot
Copy link
Contributor

Queued test build for com.gitbutler.gitbutler.

@flathubbot
Copy link
Contributor

Started test build 150803

@flathubbot
Copy link
Contributor

Build 150803 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/133895/com.gitbutler.gitbutler.flatpakref

@honnip
Copy link
Collaborator Author

honnip commented Oct 1, 2024

2024-10-01T01:59:04.434263Z  INFO crates/gitbutler-tauri/src/main.rs:64: system git executable for fetch/push: "git"
2024-10-01T01:59:12.604496Z ERROR git_test_fetch: crates/gitbutler-tauri/src/commands.rs:35: error=Error(backend error: failed to execute git command: No such file or directory (os error 2)

[📦 com.gitbutler.gitbutler ~]$ echo $PATH
/app/bin:/usr/bin
[📦 com.gitbutler.gitbutler ~]$ which git
/app/bin/git

https://github.com/gitbutlerapp/gitbutler/blob/3742349a2217210b8f69abe8cf3a5e9da7f09227/crates/gitbutler-git/src/executor/tokio/mod.rs#L32
https://github.com/gitbutlerapp/gitbutler/blob/3742349a2217210b8f69abe8cf3a5e9da7f09227/crates/gitbutler-tauri/src/main.rs#L66
https://github.com/Byron/gitoxide/blob/5ffccd2f08d70576347e3ae17a66ca5a60f1d81c/gix-path/src/env/mod.rs#L36

I don't know why it doesn't find it in PATH, but there doesn't seem to be a way to use the absolute path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing git binary
2 participants