Git development
 help / color / mirror / Atom feed
* RFC: git pull <remote> making an octopus?
@ 2006-08-14  6:43 Michael S. Tsirkin
  2006-08-14  7:00 ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Michael S. Tsirkin @ 2006-08-14  6:43 UTC (permalink / raw)
  To: git

Hi!
If I do

$git pull origin

where origin is a file in .git/remotes/origin with multiple Pull: lines,
then I seem to get an octopus merge. I would expect it to behave
in the same way as git pull without parameters.
Is this a bug or a feature?

My git pull page says:
              While
              git-pull run without  any  explicit  <refspec>  parameter  takes
              default  <refspec>s  from  Pull: lines, it merges only the first
              <refspec> found into the current branch, after fetching all  the
              remote  refs. This is because making an Octopus from remote refs
              is rarely done, while keeping track of multiple remote heads  in
              one-go by fetching more than one is often useful.

So, the same logic seems to apply to anything under .git/remotes.
Right?

-- 
MST

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

end of thread, other threads:[~2006-08-17  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-14  6:43 RFC: git pull <remote> making an octopus? Michael S. Tsirkin
2006-08-14  7:00 ` Junio C Hamano
2006-08-14  7:53   ` Michael S. Tsirkin
2006-08-14 17:55     ` Michael S. Tsirkin
2006-08-14 21:45       ` Junio C Hamano
2006-08-15  7:40         ` Alex Riesen
2006-08-15  7:45           ` Junio C Hamano
2006-08-17  9:08     ` Junio C Hamano
2006-08-17  9:18       ` Alex Riesen
2006-08-17  9:46       ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox