{"thread":{"id":"31670","subject":"git gui does not open bare repositories","startedAt":"2012-09-28T07:50:03Z","lastAt":"2012-10-01T06:22:21Z","messageCount":11,"participants":["Angelo Borsotti","Frans Klaver","Stefan Näwe","Ben Smith-Mannschott"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"200072","messageId":"CAB9Jk9CA+e8xR9sz7cW+5+990FmTeYN3pjxs4ZKFpkzb6OL35Q@mail.gmail.com","threadId":"31670","inReplyTo":null,"subject":"git gui does not open bare repositories","fromName":"Angelo Borsotti","fromEmail":"angelo.borsotti@gmail.com","sentAt":"2012-09-28T07:50:03Z","receivedAt":"2012-09-28T07:50:03Z","isPatch":false,"sender":{"key":"angelo.borsotti@gmail.com","avatar":null},"body":"Hello,\n\nI have created a bare repository:\n\n$ mkdir remote.git\n\nangelo@ANGELO-PC /d/gtest (master)\n$ git init --bare\nInitialized empty Git repository in d:/gtest/\n\nand then tried to open it with the git gui, but have got the message:\n\"remote.git is not a git repository\".\n\nThe git gui is the one that I have downloaded from the git web site for windows:\n\ngt-gui version 0.16.GITGUI\ngit version 1.7.11.msysgit.1\n\nThank you\n-Angelo Borsotti\n"},{"id":"200073","messageId":"CAH6sp9N1cFH7orPNmfbhgHq6oUNtQNe=-5f5jkYNXzr+6Xp_pQ@mail.gmail.com","threadId":"31670","inReplyTo":"CAB9Jk9CA+e8xR9sz7cW+5+990FmTeYN3pjxs4ZKFpkzb6OL35Q@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Frans Klaver","fromEmail":"fransklaver@gmail.com","sentAt":"2012-09-28T08:08:20Z","receivedAt":"2012-09-28T08:08:20Z","isPatch":false,"sender":{"key":"fransklaver@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1876483?v=4"},"body":"On Fri, Sep 28, 2012 at 9:50 AM, Angelo Borsotti\n<angelo.borsotti@gmail.com> wrote:\n\n> I have created a bare repository:\n>\n> $ mkdir remote.git\n>\n> angelo@ANGELO-PC /d/gtest (master)\n> $ git init --bare\n> Initialized empty Git repository in d:/gtest/\n\nThis creates a bare repository in d:/gtest, not in\nd:/gtest/remote.git. You'll need to cd into remote.git to create a\nbare repo.\n\n\n> and then tried to open it with the git gui, but have got the message:\n> \"remote.git is not a git repository\".\n\nSo this message is correct.\n\nBe as it may, as soon as you've initialized the repo as required, git\ngui will (probably) tell you:\n\n\"Cannot use bare repository:\n\nd:/gtest/remote.git\"\n\nSo nothing gained there. So I'm wondering what you expect git gui to\ngive you in a bare repo? It seems to me that this tool is specifically\naimed at non-bare repos, allowing for creating commits, merges and\nwhatnot; all things you cannot typically do in a bare repo.\n\n\nFrans\n"},{"id":"200074","messageId":"CAH6sp9ME0og0E-=oW6MBFMBv8hD0y8PpmdpyaV4qqr7Mb7c5VA@mail.gmail.com","threadId":"31670","inReplyTo":"CAB9Jk9BivVrH7daMR=u5Y6Ut=pZGRBcgKNZ_afZ53XFxhFBnZw@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Frans Klaver","fromEmail":"fransklaver@gmail.com","sentAt":"2012-09-28T08:35:23Z","receivedAt":"2012-09-28T08:35:23Z","isPatch":false,"sender":{"key":"fransklaver@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1876483?v=4"},"body":"Hi,\n\nPlease remember to reply to all when discussing things on the git mailing list.\n\nOn Fri, Sep 28, 2012 at 10:29 AM, Angelo Borsotti\n<angelo.borsotti@gmail.com> wrote:\n> Hello\n>\n> I apologise for having used the wrong script to reproduce the error.\n> This is  the right one:\n>\n> angelo@ANGELO-PC /d/gtest (master)\n> $ mkdir remote.git\n>\n> angelo@ANGELO-PC /d/gtest (master)\n> $ cd remote.git\n>\n> angelo@ANGELO-PC /d/gtest/remote.git (master)\n> $ git init --bare\n> Initialized empty Git repository in d:/gtest/remote.git/\n>\n> Now with the git gui I try to open the d:/gtest/remote.git/ and\n> receive the message\n> that it is not a git repository.\n>\n> I understand that the gui is mostly aimed to non-bare repositories,\n> but in such a case\n> it would be better it could give me a message like, e.g. \"could not\n> open a bare repository\"\n> instead of telling me that it is not a git repository (I thought my\n> bare repository was\n> corrupt, and tried to figure out what was wrong with it).\n\n\nActually git-gui 0.16.0 is telling me that it cannot use bare\nrepositories, much in the vein of what I wrote earlier. Don't know if\nit matters that I'm on Linux though.\n\n\nFrans\n"},{"id":"200075","messageId":"50656388.3050400@atlas-elektronik.com","threadId":"31670","inReplyTo":"CAH6sp9ME0og0E-=oW6MBFMBv8hD0y8PpmdpyaV4qqr7Mb7c5VA@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Stefan Näwe","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2012-09-28T08:44:56Z","receivedAt":"2012-09-28T08:44:56Z","isPatch":false,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"Am 28.09.2012 10:35, schrieb Frans Klaver:\n> Hi,\n> \n> Please remember to reply to all when discussing things on the git mailing list.\n> \n> On Fri, Sep 28, 2012 at 10:29 AM, Angelo Borsotti\n> <angelo.borsotti@gmail.com> wrote:\n>> Hello\n>>\n>> I apologise for having used the wrong script to reproduce the error.\n>> This is  the right one:\n>>\n>> angelo@ANGELO-PC /d/gtest (master)\n>> $ mkdir remote.git\n>>\n>> angelo@ANGELO-PC /d/gtest (master)\n>> $ cd remote.git\n>>\n>> angelo@ANGELO-PC /d/gtest/remote.git (master)\n>> $ git init --bare\n>> Initialized empty Git repository in d:/gtest/remote.git/\n>>\n>> Now with the git gui I try to open the d:/gtest/remote.git/ and\n>> receive the message\n>> that it is not a git repository.\n>>\n>> I understand that the gui is mostly aimed to non-bare repositories,\n>> but in such a case\n>> it would be better it could give me a message like, e.g. \"could not\n>> open a bare repository\"\n>> instead of telling me that it is not a git repository (I thought my\n>> bare repository was\n>> corrupt, and tried to figure out what was wrong with it).\n> \n> \n> Actually git-gui 0.16.0 is telling me that it cannot use bare\n> repositories, much in the vein of what I wrote earlier. Don't know if\n> it matters that I'm on Linux though.\n\nI get \"Not a Git repository: remote.git\" as well, when I run\ngit gui \"somewhere\" (i.e. not in \"remote.git\") and the select \n\"Open Existing Repository\".\n\nI get \"Cannot use bare repository: .../remote.git\" when I run git gui\nfrom inside the \"remote.git\" directory.\n\nBoth on WinXP with msysGit.\n\nStefan\n-- \n----------------------------------------------------------------\n/dev/random says: Unless you're the lead dog, the view never changes.\npython -c \"print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')\"\n"},{"id":"200076","messageId":"CAB9Jk9D8ZptEcBhCdzxUtWhKD__mYZ-J_TZQr70dOvED2uB0SQ@mail.gmail.com","threadId":"31670","inReplyTo":"50656388.3050400@atlas-elektronik.com","subject":"Re: git gui does not open bare repositories","fromName":"Angelo Borsotti","fromEmail":"angelo.borsotti@gmail.com","sentAt":"2012-09-28T08:56:08Z","receivedAt":"2012-09-28T08:56:08Z","isPatch":false,"sender":{"key":"angelo.borsotti@gmail.com","avatar":null},"body":"Then the misleading message is due to the Italian localization of the git gui.\n\n-Angelo\n"},{"id":"200101","messageId":"CAB9Jk9C=ndfO37YWS5mg4anu91N4O__iA_msmxU+X2_Nakv-tQ@mail.gmail.com","threadId":"31670","inReplyTo":"50656388.3050400@atlas-elektronik.com","subject":"Re: git gui does not open bare repositories","fromName":"Angelo Borsotti","fromEmail":"angelo.borsotti@gmail.com","sentAt":"2012-09-28T12:09:19Z","receivedAt":"2012-09-28T12:09:19Z","isPatch":false,"sender":{"key":"angelo.borsotti@gmail.com","avatar":null},"body":"I have removed the Italian localization so as to make git gui use the\nEnglish one.\nThe result is the same as I have found before.\nThe message is: \" Not a Git repository: remote.git\".\nThus, the misleading message is there.\n\n-Angelo\n"},{"id":"200110","messageId":"CAJ_tm-Q2=ZpUQVHG1om5cfhqoLpCwo2fNoqcWOa-n00-h0raOQ@mail.gmail.com","threadId":"31670","inReplyTo":"CAB9Jk9C=ndfO37YWS5mg4anu91N4O__iA_msmxU+X2_Nakv-tQ@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Ben Smith-Mannschott","fromEmail":"bsmith.occs@gmail.com","sentAt":"2012-09-28T14:15:57Z","receivedAt":"2012-09-28T14:15:57Z","isPatch":false,"sender":{"key":"bsmith.occs@gmail.com","avatar":"https://gravatar.com/avatar/46449e07c27bb8a30e4d50c08859f7210d47f6e84526b0a3b903641231dfc1bd?d=mp&s=160"},"body":"Hi Angelo,\n\nOn Fri, Sep 28, 2012 at 2:09 PM, Angelo Borsotti\n<angelo.borsotti@gmail.com> wrote:\n> I have removed the Italian localization so as to make git gui use the\n> English one.\n> The result is the same as I have found before.\n> The message is: \" Not a Git repository: remote.git\".\n> Thus, the misleading message is there.\n\nI'm not seeing what you're seeing. I'm running git 1.7.12.1 and I get\nexactly this message:\n\n    Cannot use bare repository:\n\n    /Users/bsmith/tmp/repo.git\n\nWhen I do exactly this:\n\n    $ cd ~/tmp\n    $ mkdir repo.git\n    $ cd repo.git\n    $ git init --bare\n    $ git gui\n\nWhat, exactly, are you doing?\n\n// Ben\n"},{"id":"200113","messageId":"CAB9Jk9AN39+RaNWX+DDEq9wVzJJBV-bjcDnUz6Ofy+baveU-8w@mail.gmail.com","threadId":"31670","inReplyTo":"CAJ_tm-Q2=ZpUQVHG1om5cfhqoLpCwo2fNoqcWOa-n00-h0raOQ@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Angelo Borsotti","fromEmail":"angelo.borsotti@gmail.com","sentAt":"2012-09-28T16:46:18Z","receivedAt":"2012-09-28T16:46:18Z","isPatch":false,"sender":{"key":"angelo.borsotti@gmail.com","avatar":null},"body":"Hi Ben,\n\nI am running git gui on Windows 7. Are you running it on Linux?\n\n-Angelo\n"},{"id":"200120","messageId":"CAB9Jk9AAg3+JVxp1NVbAbZd00EfsWGMKBhZ1R-i0ZYeUZcEaYg@mail.gmail.com","threadId":"31670","inReplyTo":"CAJ_tm-Q2=ZpUQVHG1om5cfhqoLpCwo2fNoqcWOa-n00-h0raOQ@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Angelo Borsotti","fromEmail":"angelo.borsotti@gmail.com","sentAt":"2012-09-28T18:22:25Z","receivedAt":"2012-09-28T18:22:25Z","isPatch":false,"sender":{"key":"angelo.borsotti@gmail.com","avatar":null},"body":"Hi Ben,\n\nI run the same test on Linux, and have got the same results as you did.\nSo the problem is only on Windows.\n\n-Angelo\n"},{"id":"200130","messageId":"CAJ_tm-S5kF2R-saQq6ER6669g6ND5k9ymuA0g_d+Ze3x_N3HaQ@mail.gmail.com","threadId":"31670","inReplyTo":"CAB9Jk9AN39+RaNWX+DDEq9wVzJJBV-bjcDnUz6Ofy+baveU-8w@mail.gmail.com","subject":"Re: git gui does not open bare repositories","fromName":"Ben Smith-Mannschott","fromEmail":"bsmith.occs@gmail.com","sentAt":"2012-09-28T19:43:03Z","receivedAt":"2012-09-28T19:43:03Z","isPatch":false,"sender":{"key":"bsmith.occs@gmail.com","avatar":"https://gravatar.com/avatar/46449e07c27bb8a30e4d50c08859f7210d47f6e84526b0a3b903641231dfc1bd?d=mp&s=160"},"body":"On Fri, Sep 28, 2012 at 6:46 PM, Angelo Borsotti\n<angelo.borsotti@gmail.com> wrote:\n> Hi Ben,\n>\n> I am running git gui on Windows 7. Are you running it on Linux?\n>\n> -Angelo\n\nMac OS X\n\n// Ben\n"},{"id":"200242","messageId":"5069369D.40402@atlas-elektronik.com","threadId":"31670","inReplyTo":"50656388.3050400@atlas-elektronik.com","subject":"Re: git gui does not open bare repositories","fromName":"Stefan Näwe","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2012-10-01T06:22:21Z","receivedAt":"2012-10-01T06:22:21Z","isPatch":false,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"Am 28.09.2012 10:44, schrieb Stefan Näwe:\n\n> I get \"Not a Git repository: remote.git\" as well, when I run\n> git gui \"somewhere\" (i.e. not in \"remote.git\") \n\ni.e.:\n\n  $ cd /not/a/repo\n  $ git gui\n\n> and the select \"Open Existing Repository\".\n> \n> I get \"Cannot use bare repository: .../remote.git\" when I run git gui\n> from inside the \"remote.git\" directory.\n\ni.e.:\n\n  $ cd /path/to/bare-repo.git\n  $ git gui\n\n> Both on WinXP with msysGit.\n\nAnd the same on Linux with Git v1.7.12\n\nStefan\n-- \n----------------------------------------------------------------\n/dev/random says: Press any key to continue or any other key to quit...\npython -c \"print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')\"\n"}]}