Git development
 help / color / mirror / Atom feed
From: Sebastian Leske <sleske@sleske.name>
To: git@vger.kernel.org
Subject: Re: git bash does not access drive f:
Date: Fri, 23 Nov 2012 00:58:30 +0000 (UTC)	[thread overview]
Message-ID: <slrnkatidl.gkp.sleske@iota.localnet> (raw)
In-Reply-To: CAB9Jk9Ae46PNRex9QrEy9gTgqAbn8KUFifmxQU4s5K5mDDmDZQ@mail.gmail.com

On 2012-11-22, Angelo Borsotti <angelo.borsotti@gmail.com> wrote:
> Hi
>
> I have attached an external disc, which appears on Windows as drive f:
> in Windows Explorer.
> Right-clicking on it displays a context menu showing (among other
> items) Git Init Here, Git Gui and
> Git Bash. The first two work properly on that drive.
> However, the git bash does not. Not even the one that is run from the icon:
>
> $ cd f:
> sh.exe": cd: f:: No such file or directory

This is probably a known limitation of MSYS (the shell environment that
Git Bash uses, which is part of MingW):

Drive letters added after MSYS has started only become visible if all
MSYS processes are stopped and restarted. See e.g.

How to register newly mounted drive in git bash?
http://stackoverflow.com/questions/5197540/

for some more details.

It seems there is no easy workaround, so you'll need to close all Git
Bash windows and reopen them.

  reply	other threads:[~2012-11-25 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22  7:07 git bash does not access drive f: Angelo Borsotti
2012-11-23  0:58 ` Sebastian Leske [this message]
2012-11-23 15:31 ` Heiko Voigt
2012-11-23 15:48   ` Angelo Borsotti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnkatidl.gkp.sleske@iota.localnet \
    --to=sleske@sleske.name \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox