git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is rebase always destructive?
@ 2008-12-01 11:41 Csaba Henk
  2008-12-01 11:54 ` Johan Herland
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Csaba Henk @ 2008-12-01 11:41 UTC (permalink / raw)
  To: git

Hi,

When doing a rebase, I can find a number of reasons for which one might
feel like to preserve the rebased branch (that is, perform an operation
which copies the branch over a new base, not moves).

-  For example, a successful rebase doesn't necessarily mean that the
   code, as of the rebased branch, is consistent and compiles. That is,
   the rebase can be broken even if git can put things together diff-wise.
   In such a case I wouldn't be happy to lose the original instance of
   the branch.

-  Or I might want to build different versions of the program, and each
   version of it needs a given set of fixes (the same one). Then rebasing
   my bugfix branch is not a good idea, I'd much rather copy it over all
   those versions.

I can't see any option for rebase which would yield this cp-like
behaviour. Am I missing something? Or people don't need such a feature?
(Then give me some LART please, my mind is not yet gittified enough to
see why is this not needed.) Or is it usually done by other means, not
rebase?

Thanks
Csaba

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-01 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 11:41 Is rebase always destructive? Csaba Henk
2008-12-01 11:54 ` Johan Herland
2008-12-01 12:11 ` Nick Andrew
2008-12-01 17:37   ` Csaba Henk
2008-12-01 20:19     ` Robin Rosenberg
2008-12-01 16:45 ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).