Re: [StGIT RFC PATCH] Don't use refs/bases/<branchname>
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- May 2, 2007, 11:17 UTC
- Message-ID
- <e5bfff550705020417h14f6297fu957eb64e58119770@mail.gmail.com>
- In-Reply-To
- <20070502065054.GA9919@diana.vm.bytemark.co.uk>
On 5/2/07, Karl Hasselström <kha@treskal.com> wrote:
Show 5 quoted lines
> > 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 ?
Thanks Marco