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

Re: using stgit/guilt for public branches

From
Yann Dirson <ydirson@altern.org>
Date
May 4, 2007, 21:28 UTC
Message-ID
<20070504212842.GB19253@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<200705040131.17837.robin.rosenberg.lists@dewire.com>
On Fri, May 04, 2007 at 01:31:17AM +0200, Robin Rosenberg wrote:
Show 21 quoted lines
> fredag 04 maj 2007 skrev Robin Rosenberg:
> > torsdag 03 maj 2007 skrev Yann Dirson:
> > [...]
> > > As for publishing, I use the following config entries to publish my
> > > own stack of patches to stgit.  You can see at
> > > http://repo.or.cz/w/stgit/ydirson.git that gitweb shows pretty clearly
> > > the structure of the stack (even though things could surely be made
> > > better).
> > > 
> > > I use "git push -f" to publish - maybe the "+" refspec syntax would
> > > work with push, I'll try it next time :)
> > > 
> > > [remote "orcz"]
> > >         url = git+ssh://ydirson@repo.or.cz/srv/git/stgit/ydirson.git
> > >         push = refs/heads/master:refs/heads/master
> > > 	push = refs/patches/master/*:refs/patches/master/*
> > 
> > Beautiful!!
> > 
> Would it be possible to push only applied patches, and drop unapplied
> ones?

This would require stgit-level knowledge, so we would need an stgit command.

Maybe "stg publish" or "stg branch --publish" with the current syntax, since we already have "push". I'd be in favor of "stg branch push" for the next-gen syntax, though ;)

> It would only matter when one wants to prune the remote repo
> so it may not be terribly important, but it seems I pushed quite a 
> lot of references from old patches that I haven't decided what to do
> with yet and those will get new commit id's anyway.
For now you can delete them manually with "git push remote/ref:".
Best regards,
-- 
Yann.
Previous: Robin RosenbergNext: Michael S. Tsirkin
Message 9 of 12 in “using stgit/guilt for public branches”
  1. Michael S. TsirkinApr 25, 2007
  2. Josef SipekApr 25, 2007
  3. Michael S. TsirkinApr 25, 2007
  4. Josef SipekApr 25, 2007
  5. Robin RosenbergApr 25, 2007
  6. Yann DirsonMay 3, 2007
  7. Robin RosenbergMay 3, 2007
  8. Robin RosenbergMay 3, 2007
  9. Yann DirsonMay 4, 2007
  10. Michael S. TsirkinMay 4, 2007
  11. Yann DirsonMay 4, 2007
  12. Yann DirsonMay 4, 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.