New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16800 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

qgit.app fails to find git executable

Reported by: swinbank@… Owned by: ocroquette@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: qgit

Description

qgit runs git --exec-path on startup to find the core git executables. Assuming git is installed through Macports, the git executable lives in /opt/local/bin. If qgit is run through the command line, and this is in $PATH, everything is fine. However, if qgit is run through /Applications/MacPorts/qgit.app, the path does not include /opt/local/bin. git --exec-path therefore fails, and gqit reports:

An error occurred while executing command:

git --exec-path

Git says:

Unable to start the process!

Change History

comment:1 Changed 5 years ago by blb@…

  • Owner changed from macports-tickets@… to ocroquette@…

comment:2 Changed 5 years ago by ocroquette@…

Understood, I will have a look.

comment:3 Changed 5 years ago by ocroquette@…

Should be solved with ticket #16827 ("Update for qgit 2.1 -> 2.2 and solution for git not in PATH").

However, I don't know how to link the 2 tickets.

When the new version is available, please confirm that the solution works for you, thanks !

Olivier

comment:4 Changed 5 years ago by raimue@…

  • Status changed from new to closed
  • Resolution set to fixed

Ticket #16827 was committed in r40920.

comment:5 Changed 5 years ago by swinbank@…

Pleased to confirm that this fix works as advertised.

Thanks a lot for your speedy response!

Cheers,

John

comment:6 Changed 5 years ago by ocroquette@…

I'm glad it works, thanks for the feedback !

comment:7 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.