From: Karl Hasselström Date: Wed, 02 May 2007 13:10:11 GMT Subject: Re: [StGIT RFC PATCH] Don't use refs/bases/ Message-ID: <20070502131011.GA13426@diana.vm.bytemark.co.uk> In-Reply-To: On 2007-05-02 13:17:01 +0200, Marco Costalba wrote: > On 5/2/07, Karl Hasselström 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 /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 ' > 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 > /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