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

Re: gitk: Removing Stacked Git branches from the --all view

From
Chris Packham <judge.packham@gmail.com>
Date
Aug 18, 2010, 16:23 UTC
Message-ID
<4C6C0901.4090702@gmail.com>
In-Reply-To
<4C6A25E5.5050707@workspacewhiz.com>
On 16/08/10 23:02, Joshua Jensen wrote:
Show 15 quoted lines
>  I often run 'gitk --all'.  It works great until I introduce Stacked Git
> into the equation.  StGit uses branches called branchname.stgit for
> various metadata.  The metadata turns into an ugly mess with gitk --all.
> 
> I've been playing around with various 'git log' options, but I'm not
> finding one that gives me the gitk --all view as if StGit were never
> attached to the repository.  (Speaking of StGit and apps that store
> metadata in branches... it would be awesome to have a filter that knocks
> those branches out of ALL views of the data.)
> 
> Would someone mind helping me out?
> 
> Thanks.
> 
> Josh

One thing I found was 'stg log --clear' (I'm running a newish version direct from the stgit repo but I think it should be there in stgit 0.15). It gets rid of a lot (but not all) of the extra objects that pollute the 'gitk --all' output.

One word of caution is that the Stack Git log has saved me from losing work when I've done something bone headed so I tend to clear the log only when I'm sure I've got everything I need committed upstream.

Previous: Joshua Jensen
Message 4 of 4 in “gitk: Removing Stacked Git branches from the --all view”
  1. Joshua JensenAug 17, 2010
  2. Sverre RabbelierAug 17, 2010
  3. Joshua JensenAug 18, 2010
  4. Chris PackhamAug 18, 2010

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.