Re: [StGIT RFC PATCH] Don't use refs/bases/<branchname>
From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:07
On 2007-05-02 13:17:01 +0200, Marco Costalba wrote:
On 5/2/07, Karl Hasselström [off-list ref] wrote:quoted
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