Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Allow to change current drive in addition to current directory - #146

Merged
sschuberth merged 1 commit into
msysgit:masterfrom
ferstl:change-homedrive
Dec 9, 2013
Merged

sschuberth merged 1 commit into
msysgit:masterfrom
ferstl:change-homedrive

Conversation

@ferstl

@ferstl ferstl commented Dec 8, 2013

Copy link
Copy Markdown
Contributor

In case the %HOME% directory is not located on the same drive as msysgit, git-cmd.bat will not open at the correct location. To fix this, git-cmd.bat needs to use the /d option to change into the home directory.

In case the %HOME% directory is not located on the same drive
as msysgit, git-cmd.bat will not open at the correct location
without that option.
sschuberth added a commit that referenced this pull request Dec 9, 2013
Change to the home drive before changing to the home directory
@sschuberth
sschuberth merged commit 5a9fad5 into msysgit:master Dec 9, 2013
@XhmikosR

XhmikosR commented Dec 9, 2013

Copy link
Copy Markdown
Contributor

Good catch!

BTW, is there any reason why @ is used instead of a single @echo off call in the beginning of the script?

EDIT: now I see the comment in the first line.

@sschuberth

Copy link
Copy Markdown
Contributor

@XhmikosR Just read the comment in the first line of the file ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants