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

Re: Improved git-gui blame viewer

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jun 5, 2007, 04:38 UTC
Message-ID
<20070605043824.GB9513@spearce.org>
In-Reply-To
<81b0412b0706040910w1894770bm593e0e54fbb3c44@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> wrote:
Show 7 quoted lines
> On 6/2/07, Shawn O. Pearce <spearce@spearce.org> wrote:
> >
> >I finally got the git-gui code to the point where cleaning up the
> >user interface was possible without sending myself to the nut house.
> >
> 
> Very-very nice :) 

Thanks. I'm not done yet. There's a lot of interesting navigation I still want to get in, like visting the parent of a changed line, instead of the commit that changed that line. I also want to let you open commits in a new window, rather than the current one.

> Does not seem to save sizes and positions of
> blame and file browser windows, though. It did before, I believe
> in .git/config.

Actually we have never saved the window sizes/positions of the blame and browser windows, only the main commit window. Though you may have been seeing a bug where we restored the main commit window's saved geometry on a browser or blame window if the latter was started from the command line...

> BTW, saving windows positions in .git/config was scary: I
> considered it user domain (yes, I _am_ afraid of using
> git-config too).
> Maybe it could be something like either ~/.git-gui or .git/guiconfig?

I'm apparently not afraid of git-config editing file(s). I have yet to see a failure from it. I guess I'm lucky, but will now suffer a failure tomorrow when I'm least expecting it. ;-)

Don't we use git-config to edit the config file in git-branch? In git-remote? git-gui has *always* used git-config to store its data. You are sort of asking me to replace a working config system with a new one that hasn't been tested...

Now moving the git-gui config to say ~/.gitgui-config and .git/gitgui-config may have a good argument, as then git-gui is editing its own files. Unless the user changes user.name or user.email through git-gui, in which case we have to edit .git/config or ~/.gitconfig anyway...

-- 
Shawn.
Previous: Alex RiesenNext: Alex Riesen
Message 11 of 12 in “Improved git-gui blame viewer”
  1. Shawn O. PearceJun 2, 2007
  2. Matthijs MelchiorJun 2, 2007
  3. Shawn O. PearceJun 4, 2007
  4. Martin WaitzJun 4, 2007
  5. Shawn O. PearceJun 4, 2007
  6. Martin WaitzJun 4, 2007
  7. Matthijs MelchiorJun 4, 2007
  8. Shawn O. PearceJun 5, 2007
  9. Matthijs MelchiorJun 5, 2007
  10. Alex RiesenJun 4, 2007
  11. Shawn O. PearceJun 5, 2007
  12. Alex RiesenJun 5, 2007

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.