From: Shawn O. Pearce Date: Mon, 30 Mar 2009 14:14:17 GMT Subject: Re: [PATCH] git-gui: make "Git GUI Here" Explorer extension more robust Message-ID: <20090330141417.GV23521@spearce.org> In-Reply-To: Johannes Schindelin wrote: > On Mon, 30 Mar 2009, Markus Heidelberg wrote: > > Johannes Schindelin, 30.03.2009: > > > And with bare repositories? > > > > Git-gui doesn't seem to work with bare repositories, I get > > "Cannot use funny .git directory: ." > > when started on the command line. > > Oh? I thought there was some discussion recently that was explicitely > about git gui with bare repositories. But I have to time-share my brain > these days, so my memory might well show some bit flips. At best, you can get blame to run on a bare repository, but that's it. Most of the git-gui UI is designed for viewing the status of the working tree, or manipulating the index and/or files in that working tree. There are fairly good reasons why it doesn't work on a bare repository. Of course, fetch/push would be fine a bare repository, but I consider that use case to be not worth the cost it would be in code to make it possible. We'd have to if out huge blocks of git-gui code, maybe 80%+ of git-gui.sh, and that script is already hairy enough (3477 lines). -- Shawn.