Thread (11 messages) flat view 11 messages, 3 authors, 2016-06-15

Re: [PATCH v2] git-gui: add mingw specific startup wrapper

From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:40

On Oct 10, 2007, at 5:56 PM, Johannes Schindelin wrote:
On Wed, 10 Oct 2007, Steffen Prohaska wrote:
quoted
The wrapper adds the directory it is installed in to PATH.
This is required for the git commands implemented in shell.
git-gui fails to launch them if PATH is not modified.

The wrapper script also accepts an optional command line
switch '--working-dir <dir>' and changes to <dir> before
launching the actual git-gui. This is required to implement
the "Git Gui Here" Explorer shell extension.
It should be mentioned here that the Explorer shell extension you talk
about is the very simple extension provided by the Inno Installer.
Yes, but it's already there. And Shawn even finds --working-dir  
interesting
as a general feature.

I have a much larger and versatile shell extension in mind: git- 
cheetah.
And fixing it is probably trivial; it can both change directory to the
current directory (sounds wrong, doesn't it?) and extend the PATH
appropriately before calling git-gui.
I know, but it's not yet there.

Note: the latter is not even necessary once we (correctly) add git  
to the
PATH in the installer.
(wrongly ;) Adding git to the PATH will only become an option. git-gui
should also work if it's not added.

I comment on the PATH question in reply to another mail.

	Steffen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help