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

Re: [StGit PATCH] Add some tests of refreshing removed files

From
Jon Smirl <jonsmirl@gmail.com>
Date
Aug 4, 2008, 14:07 UTC
Message-ID
<9e4733910808040707u2ef8992eha629ebca9c41730b@mail.gmail.com>
In-Reply-To
<20080804134050.19457.96613.stgit@yoghurt>
On 8/4/08, Karl Hasselström <kha@treskal.com> wrote:
Show 6 quoted lines
> Signed-off-by: Karl Hasselström <kha@treskal.com>
>
>  ---
>
>  These four tests all pass on Catalin's current master. Do they fail
>  for you, or did I miss something in your problem description?

I just updated to current git and stg and retested. Tracking a remove is working now for me. Tools were about three months old before updating.

Not sure what changed. But I definitely couldn't get stgit to do it and had to use git commands to generate the patch. I would remove the file, refresh and the patch was empty. stg status would show the file in D state. As soon as I touched something else and refreshed the rm would appear in the patch.

Maybe there is more to the triggering sequence than a simple rm. I'll keep a watch out and see if I can figure out how I got into the state.

-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Karl HasselströmNext: Jon Smirl
Message 3 of 5 in “stgit and rm a file”
  1. Jon SmirlAug 1, 2008
  2. Add some tests of refreshing removed filesKarl Hasselström, Aug 4, 2008
  3. Jon SmirlAug 4, 2008
  4. Jon SmirlAug 4, 2008
  5. Karl HasselströmAug 4, 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.