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

Re: [PATCH v2] gitk: Add a horizontal scrollbar for commit history

From
MBMarc Branchaud <mbranchaud@xiplink.com>
Date
Nov 4, 2013, 15:50 UTC
Message-ID
<5277C22C.8050605@xiplink.com>
In-Reply-To
<20131031090526.GA9164@iris.ozlabs.ibm.com>
On 13-10-31 05:05 AM, Paul Mackerras wrote:
Show 7 quoted lines
> On Wed, Oct 30, 2013 at 01:47:08PM +0100, Nicolas Cornu wrote:
>> This is useful on all our repos, every times, as we put a tag per day.
>> If the HEAD didn't move during 150 days, we got 150 tags.
> 
> Here is a patch that I did some time ago but have never pushed out.
> Do you think it is an improvement when using gitk on a repo with lots
> of tags?

I like this a lot! Thanks for putting it together. I think it's worth releasing this as-is.

My only wish is that it be generalized for any kind of ref: Each refs/* namespace should form a distinct display category. For example, given refs like this (note the non-standard "builds" namespace):

	refs/heads/maint
	refs/heads/master
	refs/heads/next
	refs/remotes/origin/maint
	refs/remotes/origin/master
	refs/remotes/origin/next
	refs/remotes/origin/pu
	refs/tags/v1.1.1
	refs/tags/v2.2.2
	refs/tags/v3.3.3
	refs/tags/v4.4.4
	refs/builds/1.1.1-1
	refs/builds/1.1.1-2
	refs/builds/1.1.1-3
	refs/builds/1.1.1-4
	refs/builds/1.1.1-5

And let's say that somehow all these refs refer to the same commit that's being displayed in gitk, then I'd like to see something like:

	[3 branches...][4 remote refs...][4 tags...][5 builds...]

Gitk can be smart about how it displays standard namespaces (as it already is for tags, heads, remote heads, etc.), but for non-standard namespaces gitk can just display the namespace's name directly.

		M.
Previous: Heiko Voigt
Message 9 of 9 in “gitk: Add a horizontal scrollbar for commit history”
  1. gitk: Add a horizontal scrollbar for commit historyNicolas Cornu, Oct 30, 2013
  2. Johannes SixtOct 30, 2013
  3. Nicolas CornuOct 30, 2013
  4. Marc BranchaudOct 30, 2013
  5. Nicolas CornuOct 30, 2013
  6. Marc BranchaudOct 30, 2013
  7. Paul MackerrasOct 31, 2013
  8. Heiko VoigtNov 2, 2013
  9. Marc BranchaudNov 4, 2013

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.