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

Re: [StGit PATCH] Do not crash if a patch log ref is missing

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Sep 14, 2008, 21:01 UTC
Message-ID
<b0943d9e0809141401o36b1347ctf6444a695b74a8b7@mail.gmail.com>
In-Reply-To
<20080914080839.GA30664@diana.vm.bytemark.co.uk>
On 14/09/2008, Karl Hasselström <kha@treskal.com> wrote:
Show 9 quoted lines
> On 2008-09-12 22:54:58 +0100, Catalin Marinas wrote:
>
>  > Since we'll get rid of the individual patch logs, StGit should
>  > ignore if such a ref is missing when deleting the compatibility
>  > patch files.
>
>
> I agree this is a good idea from a robustness perspective. Did you
>  encounter a case where the deletion actually failed?

Yes, I was deleting some older patches and it happened for one of them not to have a log reference. It left the stack in a pretty undefined state (and used the stable StGit to delete the rest of the patches as it is more tolerant :-)).

-- 
Catalin
Previous: Karl Hasselström
Message 3 of 3 in “Do not crash if a patch log ref is missing”
  1. Do not crash if a patch log ref is missingCatalin Marinas, Sep 12, 2008
  2. Karl HasselströmSep 14, 2008
  3. Catalin MarinasSep 14, 2008

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.