git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git gui does not open bare repositories

From
Frans Klaver <fransklaver@gmail.com>
Date
Sep 28, 2012, 08:35 UTC
Message-ID
<CAH6sp9ME0og0E-=oW6MBFMBv8hD0y8PpmdpyaV4qqr7Mb7c5VA@mail.gmail.com>
In-Reply-To
<CAB9Jk9BivVrH7daMR=u5Y6Ut=pZGRBcgKNZ_afZ53XFxhFBnZw@mail.gmail.com>
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:

Show 26 quoted lines
> 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
Previous: Frans KlaverNext: Stefan Näwe
Message 3 of 11 in “git gui does not open bare repositories”
  1. Angelo BorsottiSep 28, 2012
  2. Frans KlaverSep 28, 2012
  3. Frans KlaverSep 28, 2012
  4. Stefan NäweSep 28, 2012
  5. Angelo BorsottiSep 28, 2012
  6. Angelo BorsottiSep 28, 2012
  7. Ben Smith-MannschottSep 28, 2012
  8. Angelo BorsottiSep 28, 2012
  9. Ben Smith-MannschottSep 28, 2012
  10. Angelo BorsottiSep 28, 2012
  11. Stefan NäweOct 1, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.