Re: [StGIT RFC PATCH] Don't use refs/bases/<branchname>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/07, Catalin Marinas <catalin.marinas@xxxxxxxxx> wrote:
On 30/04/07, Karl Hasselström <kha@xxxxxxxxxxx> wrote:
> It's silly to save the stack base in a ref when it can trivially be
> computed from the bottommost applied patch, if any. (If there are no
> applied patches, it's simply equal to HEAD.)

The reason I initially had the base ref was to see what's on top of
the stack when using gitk. I later added refs/patches/<branch>/...
which are shown by gitk and the base ref would be redundant.

I'm OK with this patch as long as tools like qgit don't rely on this ref.


It's OK for me. A recent qgit already filters out content of
refs/bases to reduce visual 'noise'.

The only StGit data read directly are patches sha's; qgit walks
recursively all the files called "top" under directory tree

          <git dir>/patches/<current branch>

to get sha list of each applied and unapplied patch in one go.

This is much faster then calling "stg id <patch name>" for all the patches.

  Marco
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]