All of lore.kernel.org
 help / color / mirror / Atom feed
* optimized checkout+rebase?
@ 2008-03-12 19:10 Ralf Wildenhues
  2008-03-13  7:20 ` Johannes Sixt
  0 siblings, 1 reply; 10+ messages in thread
From: Ralf Wildenhues @ 2008-03-12 19:10 UTC (permalink / raw)
  To: git

Hello,

this is a common work pattern:

  git checkout master
  git pull
  for branch in $my_topic_branches; do
    git checkout $branch
    git rebase master
    # occasional fixups here...
  done

Now, it looks to me that one of the first operations of rebase just
undoes part of the work that the checkout of the branch did.  Well,
"undoes" is the wrong word, what I mean is that it looks like work
may be saved by combining the two checkout and the rewinding step.

Has this optimization already been implemented in git by some command
I've overlooked, and if no, do you agree that there is some optimization
possible?

Thanks,
Ralf

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

end of thread, other threads:[~2008-03-20  7:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12 19:10 optimized checkout+rebase? Ralf Wildenhues
2008-03-13  7:20 ` Johannes Sixt
2008-03-15 10:39   ` Ralf Wildenhues
2008-03-15 20:42     ` [PATCH] rebase [--onto O] A B: omit needless checkout Junio C Hamano
2008-03-15 22:21       ` Ralf Wildenhues
2008-03-16  3:56         ` Junio C Hamano
2008-03-19 12:54       ` Johannes Sixt
2008-03-19 19:19         ` Junio C Hamano
2008-03-20  7:41           ` Johannes Sixt
2008-03-20  7:53             ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.