Closed manosprom closed 5 years ago
SmartGit 18.2
is going to circumvent that problem. Folks at syntevo already added the logic to auto-discover the packaged/bundled Git at startup when running as Flatpak.
Now, coming back to your issue. There is a version of Git you can find at /app/bin
– bundled with Flatpak and it's the recommended one.
Additionally, if you have a version of Git installed anywhere in /usr/../../
you would need to add it by browsing over /var/run/host/usr/../../
– as specified by Flatpak. I've noticed that SmartGit does not behaves correctly when using HTTPS URLs using these locations, but my assumption is that everyone will be using the bundled Git install.
I personally use Nix Packages, so I use the one located at ~/.nix-profile/bin/git
.
Thanks mate, good stuff!
it worked exactly as you said by pointing to bundled /app/bin/git
and no problems so far.
I think this is not yet solved.
On SmartGit 19.1.4 I get the error unable to find remote helper for 'https'
.
I want to preferences and defined the git
executable:
I encountered this question on StackOverflow - https://stackoverflow.com/questions/8329485. Could it be that more dependencies are missing?
It looks like; I went back to version 19.1.3
and it was fine, so looks like the new way to provide Git
inside the Flatpak needs some other dependencies, so I'm going to put that back for the time being (and probably forever) :sunglasses:
...wait for the update.
@x80486 , Thank you for your effort.
I'm not sure I understand what you meant.
What's the difference, Flatpak wise, from 19.1.3
to 19.1.4
?
I'm all for providing any dependency needed with the Flatpak.
Hello guys,
tried to install the Smartgit flatpak from flathub and i am getting the following issue
the git executable configured on preferences does not exist
git
from SmartGit, I saw that indeed it was not shown on the directory. I assume that this has something to do with flatpak permissions and the container being unable to find the git binary on host?What i have tried is running the app with --filesystem=/usr/bin/git and --filesystem=host but still the same error is thrown.
I would like to know if there is any way to bypass this problem?