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

Re: Navigating remote branches in qgit

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Feb 4, 2007, 09:28 UTC
Message-ID
<e5bfff550702040128o6283b4f3m91debc45ec6b151@mail.gmail.com>
In-Reply-To
<1170574889.21644.38.camel@dv>
Hello Pavel,
Show 6 quoted lines
>
> Remote refs should recognized and be shown in a new color.  gitk uses
> orange (#ffddaa) on the left and green on the right.  I think qgit
> should use orange for the whole rectangle and drop "remotes/" in
> addition to "refs/", since the color will imply it.
>
I will post a quick patch, just to get the idea.
>
> It would be nice to have a refs browser that would show both loaded and
> non-loaded refs, but I realize that it's not a quick fix type of change.
>
Well, perhaps is not so hard, we already have
Git::getAllRefNames(uint mask, bool onlyLoaded)
that seems to fit. First parameter 'mask' could have following or-ed flags:
	enum RefType {
		TAG        = 1,
		BRANCH     = 2,
		RMT_BRANCH = 4,
		CUR_BRANCH = 8,
		REF        = 16,
		APPLIED    = 32,
		UN_APPLIED = 64,
		ANY_REF    = 127
	};
> Please feel free to ask for help with testing and design of the
> weirdness indicator :)
>
It should be great :-)
Marco
P.S: Grouped menu items patch will follow :-)
Previous: Pavel RoskinNext: Marco Costalba
Message 2 of 6 in “Navigating remote branches in qgit”
  1. Pavel RoskinFeb 4, 2007
  2. Marco CostalbaFeb 4, 2007
  3. Marco CostalbaFeb 4, 2007
  4. Pavel RoskinFeb 5, 2007
  5. Marco CostalbaFeb 5, 2007
  6. Pavel RoskinFeb 7, 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.