Re: Navigating remote branches in qgit
- From
- Marco 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