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

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

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Aug 17, 2010, 17:42 UTC
Message-ID
<AANLkTi=4Jr6KknLyBUe_+bQ4zue2KGNjxJtY8Ja6LmAT@mail.gmail.com>
In-Reply-To
<4C6A25E5.5050707@workspacewhiz.com>
Heya,
On Tue, Aug 17, 2010 at 01:02, Joshua Jensen <jjensen@workspacewhiz.com> wrote:
Show 5 quoted lines
> 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.)

It would be easier if StGit DTRT and stored its metadata in a stgit/ namespace. That way you could just do `gitk --branches=refs/heads/`. There's (afaik) no way to specify what refs not to show, you'd need to teach 'git rev-list' a way to ignore a ref space. You'd have to teach it how to interpret something like `git rev-list --all --not --branches=refs/heads/*.stgit`.

-- 
Cheers,

Sverre Rabbelier
Previous: Joshua JensenNext: Joshua Jensen
Message 2 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.