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

Re: 'pu' branch for StGIT

From
Karl Hasselström <kha@treskal.com>
Date
Aug 9, 2007, 20:39 UTC
Message-ID
<20070809203957.GA14441@diana.vm.bytemark.co.uk>
In-Reply-To
<1186677210.31394.28.camel@dv>
On 2007-08-09 12:33:30 -0400, Pavel Roskin wrote:
Show 11 quoted lines
> On Thu, 2007-08-09 at 16:18 +0200, Karl Hasselström wrote:
>
> > You should be able to do something like
> >
> >   $ stg applied > .git/patches/branch/applied
> >   $ stg unapplied > .git/patches/branch/unapplied
> >
> > and then manually change the version from 3 to 2, and be ready to
> > go. I haven't tested this, though!
>
> That seems to work. Thank you!
What? You mean I didn't forget any step? ;-)
> "branch" should be substituted with the current branch, of course.

I was just too lazy to type the brackets. Or maybe I'm just evil and _want_ the lock-in effect. Who knows? :-)

Show 6 quoted lines
> > I saw the same problem today.
> >
> > https://gna.org/bugs/?9710
>
> I've attached the test case to that bug. You are right, git-gc is
> involved.
Thanks.
Show 7 quoted lines
> > I haven't seen this problem at all -- in my repositories, "stg
> > branch -l" just works. Will try to reproduce (hopefully tonight).
> > Do you have a recepie on how to reproduce this from scratch?
>
> It's a problem with git-gc too! Just clone some repository and run
> "stg branch -l" in it. It with show master. Run git-gc, and "stg
> branch -l" will show "No branches".
Well, well! In that case, I'm off to kill two birds with one stone!
> I see that in my Linux repository there are files in
> .git/refs/remotes/wireless-dev but not in other directories under
> .git/refs/remotes/

Presumably the only nonpacked refs are the ones that have been updated after the last ref packing. Or however it works.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Pavel RoskinNext: Catalin Marinas
Message 14 of 17 in “'pu' branch for StGIT”
  1. Karl HasselströmAug 7, 2007
  2. Shawn O. PearceAug 7, 2007
  3. Pavel RoskinAug 8, 2007
  4. Karl HasselströmAug 8, 2007
  5. Karl HasselströmAug 8, 2007
  6. Pavel RoskinAug 8, 2007
  7. Karl HasselströmAug 8, 2007
  8. Pavel RoskinAug 9, 2007
  9. Karl HasselströmAug 9, 2007
  10. Pavel RoskinAug 9, 2007
  11. Karl HasselströmAug 9, 2007
  12. Karl HasselströmAug 9, 2007
  13. Pavel RoskinAug 9, 2007
  14. Karl HasselströmAug 9, 2007
  15. Catalin MarinasAug 9, 2007
  16. Karl HasselströmAug 10, 2007
  17. Pavel RoskinAug 12, 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.