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

Re: stgit: bug with refresh and -p

From
Karl Hasselström <kha@treskal.com>
Date
Jul 18, 2008, 08:41 UTC
Message-ID
<20080718084127.GA7042@diana.vm.bytemark.co.uk>
In-Reply-To
<9e4733910807171829q6abdcfc2m90c40a70dbc8fef5@mail.gmail.com>
On 2008-07-17 21:29:01 -0400, Jon Smirl wrote:
Show 14 quoted lines
> A refresh with -p is not picking up newly added files.
>
> jonsmirl@terra:~/fs$ stg status
> ? include/linux/i2c/max9485.h
> jonsmirl@terra:~/fs$ git add include/linux/i2c/max9485.h
> jonsmirl@terra:~/fs$ stg refresh -p max9485
> Checking for changes in the working directory ... done
> Popping patches "jds-audio" - "jds-psc" ... done
> Refreshing patch "max9485" ... done
> Fast-forwarded patches "jds-psc" - "jds-audio"
> jonsmirl@terra:~/fs$ stg status
> ? include/linux/i2c/max9485.h
> jonsmirl@terra:~/fs$ stg --version
> Stacked GIT 0.14.3.163.g06f9

Hmm, I don't immediately see why this happens. I've posted a bug about it: https://gna.org/bugs/index.php?12038

It's fixed by the refresh rewrite in my experimental branch, but there's no test for it, so I had to check by hand.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Jon SmirlNext: Karl Hasselström
Message 2 of 9 in “stgit: bug with refresh and -p”
  1. Jon SmirlJul 18, 2008
  2. Karl HasselströmJul 18, 2008
  3. Test that we can add a new file to a non-topmost patch with refresh -pKarl Hasselström, Jul 18, 2008
  4. Karl HasselströmJul 18, 2008
  5. Jon SmirlJul 18, 2008
  6. Karl HasselströmJul 18, 2008
  7. Catalin MarinasJul 21, 2008
  8. Karl HasselströmJul 22, 2008
  9. Catalin MarinasJul 25, 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.