Re: using stgit/guilt for public branches

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Rosenberg <robin.rosenberg.lists@...>
Cc: Josef Sipek <jsipek@...>, Michael S. Tsirkin <mst@...>, Junio C Hamano <junkio@...>, Catalin Marinas <catalin.marinas@...>, <git@...>, Josef 'Jeff' Sipek <jsipek@...>
Date: Thursday, May 3, 2007 - 4:58 pm

On Wed, Apr 25, 2007 at 11:37:05PM +0200, Robin Rosenberg wrote:

You are right, in that what can be done with such branches is limited.
BUT you can safely "stg branch --create" off any remote stgit stack.
Then you can "stg rebase origin/master" to port your stack to the new
tip of the remote stack.

The next stgit release will allow you to declare the pull-policy for
your stack as "rebase", so when you "stg pull" it will indeed rebase
to the new tip of the parent branch.


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/*

Maybe we should provide some degree of automation in stgit itself
(eg. "stg branch --publish" or something).

Hope this helps,
-- 
Yann.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
using stgit/guilt for public branches, Michael S. Tsirkin, (Wed Apr 25, 8:20 am)
Re: using stgit/guilt for public branches, Josef Sipek, (Wed Apr 25, 3:18 pm)
Re: using stgit/guilt for public branches, Robin Rosenberg, (Wed Apr 25, 5:37 pm)
Re: using stgit/guilt for public branches, Yann Dirson, (Thu May 3, 4:58 pm)
Re: using stgit/guilt for public branches, Yann Dirson, (Fri May 4, 7:12 pm)
Re: using stgit/guilt for public branches, Michael S. Tsirkin, (Fri May 4, 1:20 am)
Re: using stgit/guilt for public branches, Yann Dirson, (Fri May 4, 5:37 pm)
Re: using stgit/guilt for public branches, Robin Rosenberg, (Thu May 3, 7:10 pm)
Re: using stgit/guilt for public branches, Robin Rosenberg, (Thu May 3, 7:31 pm)
Re: using stgit/guilt for public branches, Yann Dirson, (Fri May 4, 5:28 pm)
Re: using stgit/guilt for public branches, Michael S. Tsirkin, (Wed Apr 25, 3:52 pm)
Re: using stgit/guilt for public branches, Josef Sipek, (Wed Apr 25, 4:40 pm)