Re: [StGIT RFC PATCH] Don't use refs/bases/<branchname>
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 2, 2007, 13:10 UTC
- Message-ID
- <20070502131011.GA13426@diana.vm.bytemark.co.uk>
- In-Reply-To
- <e5bfff550705020417h14f6297fu957eb64e58119770@mail.gmail.com>
On 2007-05-02 13:17:01 +0200, Marco Costalba wrote:
Show 17 quoted lines
> On 5/2/07, Karl Hasselström <kha@treskal.com> wrote: > > > It's not near the top of my kill list by any stretch of the > > imagination, so no need to worry. And even if it were, Catalin > > would certainly stand as a wall of sanity between qgit and my > > chain saw. :-) > > Currently I check for the existence of <git dir>/patches directory > as a quick exit in case a repository does NOT have a StGIT repo on > it (the common case). > > This avoids a costly and 99% of cases not needed 'stg <something>' > call. > > I ask if it will be still a safe check in the long period or it is > better to change the check to something else (as existence of > <git dir>/refs/patches) instead ?
I personally have no plan to attempt to remove all of .git/patches -- a lot of data in there is redundant, but certainly not all of it, and there's no compelling reason to move it. But Catalin has the final word, of course.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle