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

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

From
Karl Hasselström <kha@treskal.com>
Date
Aug 4, 2008, 14:43 UTC
Message-ID
<20080804144354.GE12232@diana.vm.bytemark.co.uk>
In-Reply-To
<9e4733910808040707u2ef8992eha629ebca9c41730b@mail.gmail.com>
On 2008-08-04 10:07:45 -0400, Jon Smirl wrote:
> I just updated to current git and stg and retested. Tracking a
> remove is working now for me.
Well, that's good.
> Tools were about three months old before updating.

Might have been fixed by 8fe07fa4cef (Handle refresh of changed files with non-ASCII names) or 466bfe50 (Fix "refresh" failure with moved files (bug 11661)).

Show 5 quoted lines
> 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.

Well, that's exactly what my new test tests for. So at least i got it right.

> 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.
Thanks.
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Jon Smirl
Message 5 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.