git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Marco Costalba
Message 8 of 8 in “Don't use refs/bases/<branchname>”
  1. Don't use refs/bases/<branchname>Karl Hasselström, Apr 29, 2007
  2. Catalin MarinasMay 1, 2007
  3. Marco CostalbaMay 1, 2007
  4. Karl HasselströmMay 1, 2007
  5. Marco CostalbaMay 1, 2007
  6. Karl HasselströmMay 2, 2007
  7. Marco CostalbaMay 2, 2007
  8. Karl HasselströmMay 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.