# qgit idea: marking refs (heads and tags)

5 messages from 2006-07-04 to 2006-07-07. Participants: Jakub Narebski, Marco Costalba.
Thread: https://gitlist.dev/t/4761

## Jakub Narebski, 2006-07-04 06:58

Subject: qgit idea: marking refs (heads and tags)
Message-ID: <e8d3i6$ne9$1@sea.gmane.org>
URL: https://gitlist.dev/e/e8d3i6%24ne9%241%40sea.gmane.org

```
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".

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Marco Costalba, 2006-07-04 12:03

Subject: Re: qgit idea: marking refs (heads and tags)
Message-ID: <e5bfff550607040503x75b1abdavbbeb80b41a454e7d@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550607040503x75b1abdavbbeb80b41a454e7d%40mail.gmail.com
In-Reply-To: <e8d3i6$ne9$1@sea.gmane.org>

```
On 7/4/06, Jakub Narebski <jnareb@gmail.com> wrote:
> 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.

>
> 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

```

## Jakub Narebski, 2006-07-04 12:45

Subject: Re: qgit idea: marking refs (heads and tags)
Message-ID: <e8dnst$pvh$1@sea.gmane.org>
URL: https://gitlist.dev/e/e8dnst%24pvh%241%40sea.gmane.org
In-Reply-To: <e5bfff550607040503x75b1abdavbbeb80b41a454e7d@mail.gmail.com>

```
Marco Costalba wrote:

> On 7/4/06, Jakub Narebski <jnareb@gmail.com> wrote:
>> 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".

>> 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.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Marco Costalba, 2006-07-06 18:39

Subject: Re: qgit idea: marking refs (heads and tags)
Message-ID: <e5bfff550607061139y3ccbab37xb83e654d24a19964@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550607061139y3ccbab37xb83e654d24a19964%40mail.gmail.com
In-Reply-To: <e8dnst$pvh$1@sea.gmane.org>

```
On 7/4/06, Jakub Narebski <jnareb@gmail.com> wrote:
>
> >> 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

```

## Jakub Narebski, 2006-07-07 19:07

Subject: Re: qgit idea: marking refs (heads and tags)
Message-ID: <e8mbd9$t1u$3@sea.gmane.org>
URL: https://gitlist.dev/e/e8mbd9%24t1u%243%40sea.gmane.org
In-Reply-To: <e5bfff550607061139y3ccbab37xb83e654d24a19964@mail.gmail.com>

```
Marco Costalba wrote:

> On 7/4/06, Jakub Narebski <jnareb@gmail.com> wrote:

>>> 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!

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```
