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

Re: Navigating remote branches in qgit

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Feb 4, 2007, 11:00 UTC
Message-ID
<e5bfff550702040300x60bb1dfdxd312dc214bc49014@mail.gmail.com>
In-Reply-To
<1170574889.21644.38.camel@dv>
On 2/4/07, Pavel Roskin <proski@gnu.org> wrote:
Show 7 quoted lines
> Hello, Marco!
>
> While at that, we should think how to show refs in a more compact manner
> in the revision list.  I think "refs/" can be dropped in any case, since
> qgit only scans under refs.  Any rectangle implies "refs/" already.
> That's what gitk does.
>

After the posted two patches "refs/" is shown only in StGIT bases. Currently qgit uses 'git show-ref -d' to retrieve ref list and "ref/" prefix is already in git-show-ref output, so as a general rule I would try to avoid 'massaging' git output as much as is possible to have more chances thing do not break after a git behaviour change.

It is difficult now to say it's (and will be) true that refs are only under "refs/". Perhaps in the future someone came up with an idea to use "refs_of_some_kind/" directory and this would break stuff.

So last line is: if git-show-ref prints this info, perhaps it's better to keep.
  Marco
Previous: Marco CostalbaNext: Pavel Roskin
Message 3 of 6 in “Navigating remote branches in qgit”
  1. Pavel RoskinFeb 4, 2007
  2. Marco CostalbaFeb 4, 2007
  3. Marco CostalbaFeb 4, 2007
  4. Pavel RoskinFeb 5, 2007
  5. Marco CostalbaFeb 5, 2007
  6. Pavel RoskinFeb 7, 2007

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.