login
Header Space

 
 

Re: Rebasing stgit stacks

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Narebski <jnareb@...>
Cc: <git@...>
Date: Saturday, January 20, 2007 - 9:17 am

On Fri, Jan 19, 2007 at 10:40:16AM +0100, Jakub Narebski wrote:

I'm not sure I understand.  Since the "current StGIT stack" is the one
pointed to by HEAD, how do you specify, when HEAD points to the target
branch, which stack to rebase ?


Hm, the operation is not just about moving the stack base, it also has
to reapply patches, so, whereas the central concept is about moving
the base, the whole operation is indeed about the rebaseing the whole
stack.

I'm not sure we need to expose the "stack base" to the user as an
object she could manipulate all alone, I'd rather think it should only
be kept a read-only attribute of the stack, which gets changed when
the user rebases the stack.

IOW, the conceptual base object is private to the stack object, (it is
indeed just a simple text attribute) and only stack methods are
allowed to call base.move(), when they have ensured it can be done
safely (ie. popping all patches first).

Best regards,
-- 
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:
Re: Rebasing stgit stacks, Jakub Narebski, (Tue Jan 16, 7:30 pm)
Re: Rebasing stgit stacks, Yann Dirson, (Wed Jan 17, 4:53 pm)
Re: Rebasing stgit stacks, Jakub Narebski, (Fri Jan 19, 5:40 am)
Re: Rebasing stgit stacks, Yann Dirson, (Sat Jan 20, 9:17 am)
Re: Rebasing stgit stacks, Jakub Narebski, (Sat Jan 20, 3:16 pm)
Re: Rebasing stgit stacks, Catalin Marinas, (Mon Jan 22, 7:12 pm)
Re: Rebasing stgit stacks, Yann Dirson, (Sat Jan 20, 4:07 pm)
Re: Rebasing stgit stacks, Catalin Marinas, (Thu Jan 18, 8:06 am)
Re: Rebasing stgit stacks, Yann Dirson, (Thu Jan 18, 3:42 pm)
Re: Rebasing stgit stacks, Karl , (Wed Jan 17, 5:03 am)
Re: Rebasing stgit stacks, Yann Dirson, (Wed Jan 17, 3:34 pm)
speck-geostationary