# Git Error Message

4 messages from 2017-06-03 to 2017-06-05. Participants: christienne shultz, Konstantin Khomoutov, Philip Oakley.
Thread: https://gitlist.dev/t/46105

## christienne shultz, 2017-06-03 08:13

Subject: Git Error Message
Message-ID: <CAPMR3RcMK_Dt=4g6JJjQ9DVhCn7PLY2xAPXM1OgZGaqyVSeP=A@mail.gmail.com>
URL: https://gitlist.dev/e/CAPMR3RcMK_Dt%3D4g6JJjQ9DVhCn7PLY2xAPXM1OgZGaqyVSeP%3DA%40mail.gmail.com

```
Hello,
I have installed the Git software and upon trying to update a
repository by the "open recent repository" link and am unable to
access the menu-or anything-from there.  Instead a window pops up with
the following error message:

"\usage C:\Program Files\Git\mingw64/libexec/git-core\git-GUI[
{blame|browser|citool}]

Can you please tell me what this error message means and how to fix
the issue?  Thank you!

```

## Konstantin Khomoutov, 2017-06-05 08:48

Subject: Re: Git Error Message
Message-ID: <20170605084839.mmirmdtvlpdqgwgo@tigra>
URL: https://gitlist.dev/e/20170605084839.mmirmdtvlpdqgwgo%40tigra
In-Reply-To: <CAPMR3RcMK_Dt=4g6JJjQ9DVhCn7PLY2xAPXM1OgZGaqyVSeP=A@mail.gmail.com>

```
On Sat, Jun 03, 2017 at 01:13:05AM -0700, christienne shultz wrote:

> I have installed the Git software and upon trying to update a
> repository by the "open recent repository" link and am unable to
> access the menu-or anything-from there.  Instead a window pops up with
> the following error message:
> 
> "\usage C:\Program Files\Git\mingw64/libexec/git-core\git-GUI[
> {blame|browser|citool}]
> 
> Can you please tell me what this error message means and how to fix
> the issue?  Thank you!

A shot in the dark until someone with access to Windows chimes in (it
appears that the "open recent repository" feature of `git gui` is specific
to Git for Windows): have you verified that repository actually exists
on your filesystem?

Another interesting question is whether the pathname of that repository
includes space characters which could in principle confuse `git gui`.


```

## Philip Oakley, 2017-06-05 13:54

Subject: Re: Git Error Message
Message-ID: <D86B4F1CDEF64DEEB961900D30165624@PhilipOakley>
URL: https://gitlist.dev/e/D86B4F1CDEF64DEEB961900D30165624%40PhilipOakley
In-Reply-To: <20170605084839.mmirmdtvlpdqgwgo@tigra>

```
From: "Konstantin Khomoutov" <kostix+git@007spb.ru>
> On Sat, Jun 03, 2017 at 01:13:05AM -0700, christienne shultz wrote:
>
>> I have installed the Git software and upon trying to update a
>> repository by the "open recent repository" link and am unable to
>> access the menu-or anything-from there.  Instead a window pops up with
>> the following error message:
>>
>> "\usage C:\Program Files\Git\mingw64/libexec/git-core\git-GUI[
>> {blame|browser|citool}]
>>

Can you show the full error message / dialog window?

With a little bit of staring you will see the line numbers and a few clues 
about the stack history for the error (i.e. line number and variable)

>> Can you please tell me what this error message means and how to fix
>> the issue?  Thank you!
>
> A shot in the dark until someone with access to Windows chimes in (it
> appears that the "open recent repository" feature of `git gui` is specific
> to Git for Windows): have you verified that repository actually exists
> on your filesystem?

Feature is common but the implementations look slightly different

https://github.com/git/git/blob/master/git-gui/lib/choose_repository.tcl#L123
$opts insert end [mc "Open Existing Repository"] link_open

https://github.com/git-for-windows/git/blob/master/git-gui/lib/choose_repository.tcl#L152
-text [mc "Open Recent Repository:"]

I'm not sure how the differences are created between the two source codes.

The nominal upstream by Pat Thoyts has the same as the git.git version
https://github.com/patthoyts/git-gui/blob/master/lib/choose_repository.tcl#L123


--Philip


>
> Another interesting question is whether the pathname of that repository
> includes space characters which could in principle confuse `git gui`.
> 


```

## Konstantin Khomoutov, 2017-06-05 14:00

Subject: Re: Git Error Message
Message-ID: <20170605140032.jdnv32fd5lxhqkcj@tigra>
URL: https://gitlist.dev/e/20170605140032.jdnv32fd5lxhqkcj%40tigra
In-Reply-To: <D86B4F1CDEF64DEEB961900D30165624@PhilipOakley>

```
On Mon, Jun 05, 2017 at 02:54:55PM +0100, Philip Oakley wrote:

> > > I have installed the Git software and upon trying to update a
> > > repository by the "open recent repository" link and am unable to
> > > access the menu-or anything-from there.  Instead a window pops up with
> > > the following error message:
> > > 
> > > "\usage C:\Program Files\Git\mingw64/libexec/git-core\git-GUI[
> > > {blame|browser|citool}]
> 
> Can you show the full error message / dialog window?
> 
> With a little bit of staring you will see the line numbers and a few clues
> about the stack history for the error (i.e. line number and variable)
> 
> > > Can you please tell me what this error message means and how to fix
> > > the issue?  Thank you!
> > 
> > A shot in the dark until someone with access to Windows chimes in (it
> > appears that the "open recent repository" feature of `git gui` is specific
> > to Git for Windows): have you verified that repository actually exists
> > on your filesystem?
> 
> Feature is common but the implementations look slightly different
> 
> https://github.com/git/git/blob/master/git-gui/lib/choose_repository.tcl#L123
> $opts insert end [mc "Open Existing Repository"] link_open
> 
> https://github.com/git-for-windows/git/blob/master/git-gui/lib/choose_repository.tcl#L152
> -text [mc "Open Recent Repository:"]
> 
> I'm not sure how the differences are created between the two source codes.
> 
> The nominal upstream by Pat Thoyts has the same as the git.git version
> https://github.com/patthoyts/git-gui/blob/master/lib/choose_repository.tcl#L123

Heh, somehow I've got an impression the GfW's version of `git gui` was
taught to look in the registry for the recent folders and then pick
those  which have ".git" directory located inside or whose names end
in ".git" ;-)


```
