Re: Navigating remote branches in qgit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]