Skip to contentSkip to conversation

qgit idea: marking refs (heads and tags)

DISCUSSION Jakub Narebski 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

One thing I sorely lack in qgit as compared to gitk (and even gitweb[*1*]) is marking commits with refs (heads and tags, marked with different colors or different shape marker). gitk currently uses markers in short log line before text of commit summary, gitweb uses markers after (at the end) of commit log summary. In qgit head commits are marked as such, but not to which branche they belong[*2*].

And also somewhat (but to much lesser extent) showing explicitely sha1-ids for commit, parents, tree, referenced object (in tag), to copy'n'paste to shell.

[*1*] Currently _only_ in summary view IIRC, see e.g.
http://www.kernel.org/git/?p=git/git.git;a=summary
[*2*] gitk has also somewhat expensive "branches that commit belongs to" and "closest tag(s) that are in lineage of this commit".

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#1 lore raw
Quoted 6 lines · Jakub Narebski

One thing I sorely lack in qgit as compared to gitk (and even gitweb[*1*]) is marking commits with refs (heads and tags, marked with different colors or different shape marker). gitk currently uses markers in short log line before text of commit summary, gitweb uses markers after (at the end) of commit log summary. In qgit head commits are marked as such, but not to which branche they belong[*2*].

Currently you have to select the head and the status bar will show related information: branch, tag message, etc.

Quoted 5 lines

And also somewhat (but to much lesser extent) showing explicitely sha1-ids for commit, parents, tree, referenced object (in tag), to copy'n'paste to shell.

Something as a typical browser "copy selected link" context menu entry?

Marco

#2 lore raw
Quoted 10 lines · Marco Costalba
Quoted 6 lines · Jakub Narebski

One thing I sorely lack in qgit as compared to gitk (and even gitweb[*1*]) is marking commits with refs (heads and tags, marked with different colors or different shape marker). gitk currently uses markers in short log line before text of commit summary, gitweb uses markers after (at the end) of commit log summary. In qgit head commits are marked as such, but not to which branche they belong[*2*].

Currently you have to select the head and the status bar will show related information: branch, tag message, etc.

That is step in right direction, but still when viewing history as a whole I'd like to know which branch is which. Head refs are marked, so it shouldn't be much work (well, perhaps some on the GUI side) to add, as an option, head name somewhere (before or after, or even somwehere else) along commit "subject".

Quoted 5 lines
Quoted 3 lines

And also somewhat (but to much lesser extent) showing explicitely sha1-ids for commit, parents, tree, referenced object (in tag), to copy'n'paste to shell.

Something as a typical browser "copy selected link" context menu entry?

Yes, "copy sha1 of selected link" would be nice.

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#3 lore raw
Quoted 9 lines · Jakub Narebski
Quoted 6 lines
Quoted 4 lines

And also somewhat (but to much lesser extent) showing explicitely sha1-ids for commit, parents, tree, referenced object (in tag), to copy'n'paste to shell.

Something as a typical browser "copy selected link" context menu entry?

Yes, "copy sha1 of selected link" would be nice.

Patch pushed to public repo (git.kernel.org/pub/scm/qgit/qgit.git)

Marco

#4 lore raw
Quoted 8 lines · Marco Costalba
Quoted 4 lines · Jakub Narebski
Quoted 1 line

Something as a typical browser "copy selected link" context menu entry?

Yes, "copy sha1 of selected link" would be nice.

Patch pushed to public repo (git.kernel.org/pub/scm/qgit/qgit.git)

Thanks a lot!

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git