Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16800 closed defect (fixed)

qgit.app fails to find git executable

Reported by: jdswinbank (John Swinbank) Owned by: ocroquette (Olivier Croquette)
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 (7)

comment:1 Changed 16 years ago by blb@…

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

comment:2 Changed 16 years ago by ocroquette (Olivier Croquette)

Understood, I will have a look.

comment:3 Changed 16 years ago by ocroquette (Olivier Croquette)

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 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Ticket #16827 was committed in r40920.

comment:5 Changed 16 years ago by jdswinbank (John Swinbank)

Pleased to confirm that this fix works as advertised.

Thanks a lot for your speedy response!

Cheers,

John

comment:6 Changed 16 years ago by ocroquette (Olivier Croquette)

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

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.