Re: Navigating remote branches in qgit

From: Marco Costalba <mcostalba@gmail.com>
Date: 2007-02-04 20:28:19
Hello Pavel,

>
> 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 :-)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Feb 04 20:32:38 2007

This archive was generated by hypermail 2.1.8 : 2007-02-04 20:34:28 EST