working dir disappeared -Git-1.6.4-preview20090730.exe

10 views
Skip to first unread message

Paolo Ciarrocchi

unread,
Jul 31, 2009, 3:48:16 AM7/31/09
to msysGit
Hi all,
while I was trying to support a friend which is using GIT for the
first time I faced a strange issue.
Fresh installation of Git-1.6.4-preview20090730.exe on a Windows XP
laptop.
I cloned the repo:
git clone git://git.gnome.org/gtk+
configured my identity and my email address.

And now the problem:

pciarro@OIVWC08P ~/gtk+
$ git branch
* master

pciarro@OIVWC08P ~/gtk+ (master)
$ git whatchanged -p /log/gdk/gdkkeysyms.h

fatal: ambiguous argument 'C:/Program Files/Git/log/gdk/gdkkeysyms.h':
unknown r
Use '--' to separate paths from revisions

pciarro@OIVWC08P ~/gtk+
$ git whatchanged -p -- /log/gdk/gdkkeysyms.h

pciarro@OIVWC08P ~/gtk+
$ pwd
/c/Documents and Settings/pciarro/gtk+

pciarro@OIVWC08P ~/gtk+
$ ls

pciarro@OIVWC08P ~/gtk+
$ ls

pciarro@OIVWC08P ~/gtk+
$ git branch -a

pciarro@OIVWC08P ~/gtk+
$ ls

pciarro@OIVWC08P ~/gtk+
$ pwd
/c/Documents and Settings/pciarro/gtk+

pciarro@OIVWC08P ~/gtk+
$ git status

pciarro@OIVWC08P ~/gtk+
$ git checkout master

pciarro@OIVWC08P ~/gtk+
$ ls

What's going on here?

Thanks.

Regards,
Paolo

Johannes Schindelin

unread,
Jul 31, 2009, 6:45:37 AM7/31/09
to Paolo Ciarrocchi, msysGit
Hi,

On Fri, 31 Jul 2009, Paolo Ciarrocchi wrote:

> while I was trying to support a friend which is using GIT for the
> first time I faced a strange issue.
> Fresh installation of Git-1.6.4-preview20090730.exe on a Windows XP
> laptop.
> I cloned the repo:
> git clone git://git.gnome.org/gtk+

I think the '+' is the issue; it is not allowed in DOS file names. How
about

git clone git://git.gnome.org/gtk+ gtk-plus

instead?

Ciao,
Dscho

Paolo Ciarrocchi

unread,
Jul 31, 2009, 7:09:28 AM7/31/09
to Johannes Schindelin, msysGit

So far I did:
mv gtk+ gtk
and I didn't manage to reproduce the issue.

Thanks a lot for your quick answer.

Regards,
--
Paolo

Reply all
Reply to author
Forward
0 new messages