git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should "pull --rebase" try to be a little cleverer?
@ 2008-01-21 15:47 Johannes Schindelin
  2008-01-21 16:03 ` Nicolas Pitre
  2008-01-21 18:21 ` Junio C Hamano
  0 siblings, 2 replies; 8+ messages in thread
From: Johannes Schindelin @ 2008-01-21 15:47 UTC (permalink / raw)
  To: git

Hi,

last night an idea hit me: if I "git pull --rebase blabla master", it 
could be that "blabla" decided to rebase "master" already, and ATM this 
would lead to quite a few conflicts, since commits that were not mine were 
rewritten.

However, if we already have refs/remotes/blabla/master, we could DWIM the 
--rebase call to

	git rebase --onto FETCH_HEAD refs/remotes/blabla/master

Of course, this would mean that git-pull would need to source 
git-parse-remote again...

Ciao,
Dscho

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

end of thread, other threads:[~2008-01-26 19:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 15:47 Should "pull --rebase" try to be a little cleverer? Johannes Schindelin
2008-01-21 16:03 ` Nicolas Pitre
2008-01-21 16:21   ` Johannes Schindelin
2008-01-21 16:42     ` Nicolas Pitre
2008-01-21 18:21 ` Junio C Hamano
2008-01-26 18:04   ` [PATCH] pull --rebase: be cleverer with rebased upstream branches Johannes Schindelin
2008-01-26 19:34     ` Junio C Hamano
2008-01-26 19:49       ` Johannes Schindelin

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).