Quoting r. Junio C Hamano <junkio@xxxxxxx>: > Subject: Re: Multiple pulls from the same branch in .git/remotes/origin > > "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxx> writes: > > > I get remote linus_master properly fetched into local origin. > > Two questions: > > > 1. Isn't is possible to pull from the same remote branch into multiple local > > branches? > > Currently, no. The underlying git-fetch-pack makes sure you do > not give the same branches twice on the command line. I think > what the code actually tries to do is to make sure each of the > given refspecs is not ambiguous and matches something, but while > doing so it marks the remote ref that matched ineligible to > match again, which ends up showing the error message you saw. > > It might not be too difficult to change it though. This part of > the code is relatively old and I do not remember the details > offhand, other than I remember that the first time I saw it I > had the same confused "Huh? we do not let a ref fetched twice?" > reaction ;-). At least, fix the error message? -- MST - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html