* git gui does not open bare repositories
@ 2012-09-28 7:50 Angelo Borsotti
2012-09-28 8:08 ` Frans Klaver
0 siblings, 1 reply; 11+ messages in thread
From: Angelo Borsotti @ 2012-09-28 7:50 UTC (permalink / raw)
To: git
Hello,
I have created a bare repository:
$ mkdir remote.git
angelo@ANGELO-PC /d/gtest (master)
$ git init --bare
Initialized empty Git repository in d:/gtest/
and then tried to open it with the git gui, but have got the message:
"remote.git is not a git repository".
The git gui is the one that I have downloaded from the git web site for windows:
gt-gui version 0.16.GITGUI
git version 1.7.11.msysgit.1
Thank you
-Angelo Borsotti
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 7:50 git gui does not open bare repositories Angelo Borsotti
@ 2012-09-28 8:08 ` Frans Klaver
[not found] ` <CAB9Jk9BivVrH7daMR=u5Y6Ut=pZGRBcgKNZ_afZ53XFxhFBnZw@mail.gmail.com>
0 siblings, 1 reply; 11+ messages in thread
From: Frans Klaver @ 2012-09-28 8:08 UTC (permalink / raw)
To: Angelo Borsotti; +Cc: git
On Fri, Sep 28, 2012 at 9:50 AM, Angelo Borsotti
<angelo.borsotti@gmail.com> wrote:
> I have created a bare repository:
>
> $ mkdir remote.git
>
> angelo@ANGELO-PC /d/gtest (master)
> $ git init --bare
> Initialized empty Git repository in d:/gtest/
This creates a bare repository in d:/gtest, not in
d:/gtest/remote.git. You'll need to cd into remote.git to create a
bare repo.
> and then tried to open it with the git gui, but have got the message:
> "remote.git is not a git repository".
So this message is correct.
Be as it may, as soon as you've initialized the repo as required, git
gui will (probably) tell you:
"Cannot use bare repository:
d:/gtest/remote.git"
So nothing gained there. So I'm wondering what you expect git gui to
give you in a bare repo? It seems to me that this tool is specifically
aimed at non-bare repos, allowing for creating commits, merges and
whatnot; all things you cannot typically do in a bare repo.
Frans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
[not found] ` <CAB9Jk9BivVrH7daMR=u5Y6Ut=pZGRBcgKNZ_afZ53XFxhFBnZw@mail.gmail.com>
@ 2012-09-28 8:35 ` Frans Klaver
2012-09-28 8:44 ` Stefan Näwe
0 siblings, 1 reply; 11+ messages in thread
From: Frans Klaver @ 2012-09-28 8:35 UTC (permalink / raw)
To: Angelo Borsotti; +Cc: git
Hi,
Please remember to reply to all when discussing things on the git mailing list.
On Fri, Sep 28, 2012 at 10:29 AM, Angelo Borsotti
<angelo.borsotti@gmail.com> wrote:
> Hello
>
> I apologise for having used the wrong script to reproduce the error.
> This is the right one:
>
> angelo@ANGELO-PC /d/gtest (master)
> $ mkdir remote.git
>
> angelo@ANGELO-PC /d/gtest (master)
> $ cd remote.git
>
> angelo@ANGELO-PC /d/gtest/remote.git (master)
> $ git init --bare
> Initialized empty Git repository in d:/gtest/remote.git/
>
> Now with the git gui I try to open the d:/gtest/remote.git/ and
> receive the message
> that it is not a git repository.
>
> I understand that the gui is mostly aimed to non-bare repositories,
> but in such a case
> it would be better it could give me a message like, e.g. "could not
> open a bare repository"
> instead of telling me that it is not a git repository (I thought my
> bare repository was
> corrupt, and tried to figure out what was wrong with it).
Actually git-gui 0.16.0 is telling me that it cannot use bare
repositories, much in the vein of what I wrote earlier. Don't know if
it matters that I'm on Linux though.
Frans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 8:35 ` Frans Klaver
@ 2012-09-28 8:44 ` Stefan Näwe
2012-09-28 8:56 ` Angelo Borsotti
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Stefan Näwe @ 2012-09-28 8:44 UTC (permalink / raw)
To: Frans Klaver; +Cc: Angelo Borsotti, git
Am 28.09.2012 10:35, schrieb Frans Klaver:
> Hi,
>
> Please remember to reply to all when discussing things on the git mailing list.
>
> On Fri, Sep 28, 2012 at 10:29 AM, Angelo Borsotti
> <angelo.borsotti@gmail.com> wrote:
>> Hello
>>
>> I apologise for having used the wrong script to reproduce the error.
>> This is the right one:
>>
>> angelo@ANGELO-PC /d/gtest (master)
>> $ mkdir remote.git
>>
>> angelo@ANGELO-PC /d/gtest (master)
>> $ cd remote.git
>>
>> angelo@ANGELO-PC /d/gtest/remote.git (master)
>> $ git init --bare
>> Initialized empty Git repository in d:/gtest/remote.git/
>>
>> Now with the git gui I try to open the d:/gtest/remote.git/ and
>> receive the message
>> that it is not a git repository.
>>
>> I understand that the gui is mostly aimed to non-bare repositories,
>> but in such a case
>> it would be better it could give me a message like, e.g. "could not
>> open a bare repository"
>> instead of telling me that it is not a git repository (I thought my
>> bare repository was
>> corrupt, and tried to figure out what was wrong with it).
>
>
> Actually git-gui 0.16.0 is telling me that it cannot use bare
> repositories, much in the vein of what I wrote earlier. Don't know if
> it matters that I'm on Linux though.
I get "Not a Git repository: remote.git" as well, when I run
git gui "somewhere" (i.e. not in "remote.git") and the select
"Open Existing Repository".
I get "Cannot use bare repository: .../remote.git" when I run git gui
from inside the "remote.git" directory.
Both on WinXP with msysGit.
Stefan
--
----------------------------------------------------------------
/dev/random says: Unless you're the lead dog, the view never changes.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 8:44 ` Stefan Näwe
@ 2012-09-28 8:56 ` Angelo Borsotti
2012-09-28 12:09 ` Angelo Borsotti
2012-10-01 6:22 ` Stefan Näwe
2 siblings, 0 replies; 11+ messages in thread
From: Angelo Borsotti @ 2012-09-28 8:56 UTC (permalink / raw)
To: Stefan Näwe; +Cc: Frans Klaver, git
Then the misleading message is due to the Italian localization of the git gui.
-Angelo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 8:44 ` Stefan Näwe
2012-09-28 8:56 ` Angelo Borsotti
@ 2012-09-28 12:09 ` Angelo Borsotti
2012-09-28 14:15 ` Ben Smith-Mannschott
2012-10-01 6:22 ` Stefan Näwe
2 siblings, 1 reply; 11+ messages in thread
From: Angelo Borsotti @ 2012-09-28 12:09 UTC (permalink / raw)
To: Stefan Näwe; +Cc: Frans Klaver, git
I have removed the Italian localization so as to make git gui use the
English one.
The result is the same as I have found before.
The message is: " Not a Git repository: remote.git".
Thus, the misleading message is there.
-Angelo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 12:09 ` Angelo Borsotti
@ 2012-09-28 14:15 ` Ben Smith-Mannschott
2012-09-28 16:46 ` Angelo Borsotti
2012-09-28 18:22 ` Angelo Borsotti
0 siblings, 2 replies; 11+ messages in thread
From: Ben Smith-Mannschott @ 2012-09-28 14:15 UTC (permalink / raw)
To: Angelo Borsotti; +Cc: Stefan Näwe, Frans Klaver, git
Hi Angelo,
On Fri, Sep 28, 2012 at 2:09 PM, Angelo Borsotti
<angelo.borsotti@gmail.com> wrote:
> I have removed the Italian localization so as to make git gui use the
> English one.
> The result is the same as I have found before.
> The message is: " Not a Git repository: remote.git".
> Thus, the misleading message is there.
I'm not seeing what you're seeing. I'm running git 1.7.12.1 and I get
exactly this message:
Cannot use bare repository:
/Users/bsmith/tmp/repo.git
When I do exactly this:
$ cd ~/tmp
$ mkdir repo.git
$ cd repo.git
$ git init --bare
$ git gui
What, exactly, are you doing?
// Ben
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 14:15 ` Ben Smith-Mannschott
@ 2012-09-28 16:46 ` Angelo Borsotti
2012-09-28 19:43 ` Ben Smith-Mannschott
2012-09-28 18:22 ` Angelo Borsotti
1 sibling, 1 reply; 11+ messages in thread
From: Angelo Borsotti @ 2012-09-28 16:46 UTC (permalink / raw)
To: Ben Smith-Mannschott; +Cc: Stefan Näwe, Frans Klaver, git
Hi Ben,
I am running git gui on Windows 7. Are you running it on Linux?
-Angelo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 14:15 ` Ben Smith-Mannschott
2012-09-28 16:46 ` Angelo Borsotti
@ 2012-09-28 18:22 ` Angelo Borsotti
1 sibling, 0 replies; 11+ messages in thread
From: Angelo Borsotti @ 2012-09-28 18:22 UTC (permalink / raw)
To: Ben Smith-Mannschott; +Cc: Stefan Näwe, Frans Klaver, git
Hi Ben,
I run the same test on Linux, and have got the same results as you did.
So the problem is only on Windows.
-Angelo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 16:46 ` Angelo Borsotti
@ 2012-09-28 19:43 ` Ben Smith-Mannschott
0 siblings, 0 replies; 11+ messages in thread
From: Ben Smith-Mannschott @ 2012-09-28 19:43 UTC (permalink / raw)
To: Angelo Borsotti; +Cc: Stefan Näwe, Frans Klaver, git
On Fri, Sep 28, 2012 at 6:46 PM, Angelo Borsotti
<angelo.borsotti@gmail.com> wrote:
> Hi Ben,
>
> I am running git gui on Windows 7. Are you running it on Linux?
>
> -Angelo
Mac OS X
// Ben
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: git gui does not open bare repositories
2012-09-28 8:44 ` Stefan Näwe
2012-09-28 8:56 ` Angelo Borsotti
2012-09-28 12:09 ` Angelo Borsotti
@ 2012-10-01 6:22 ` Stefan Näwe
2 siblings, 0 replies; 11+ messages in thread
From: Stefan Näwe @ 2012-10-01 6:22 UTC (permalink / raw)
To: Frans Klaver; +Cc: Angelo Borsotti, git
Am 28.09.2012 10:44, schrieb Stefan Näwe:
> I get "Not a Git repository: remote.git" as well, when I run
> git gui "somewhere" (i.e. not in "remote.git")
i.e.:
$ cd /not/a/repo
$ git gui
> and the select "Open Existing Repository".
>
> I get "Cannot use bare repository: .../remote.git" when I run git gui
> from inside the "remote.git" directory.
i.e.:
$ cd /path/to/bare-repo.git
$ git gui
> Both on WinXP with msysGit.
And the same on Linux with Git v1.7.12
Stefan
--
----------------------------------------------------------------
/dev/random says: Press any key to continue or any other key to quit...
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-10-01 6:23 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 7:50 git gui does not open bare repositories Angelo Borsotti
2012-09-28 8:08 ` Frans Klaver
[not found] ` <CAB9Jk9BivVrH7daMR=u5Y6Ut=pZGRBcgKNZ_afZ53XFxhFBnZw@mail.gmail.com>
2012-09-28 8:35 ` Frans Klaver
2012-09-28 8:44 ` Stefan Näwe
2012-09-28 8:56 ` Angelo Borsotti
2012-09-28 12:09 ` Angelo Borsotti
2012-09-28 14:15 ` Ben Smith-Mannschott
2012-09-28 16:46 ` Angelo Borsotti
2012-09-28 19:43 ` Ben Smith-Mannschott
2012-09-28 18:22 ` Angelo Borsotti
2012-10-01 6:22 ` Stefan Näwe
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).