Git development
 help / color / mirror / Atom feed
From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: Rene Herman <rene.herman@keyaccess.nl>
Cc: Jeff King <peff@peff.net>,
	git@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: Re: git pull versus fetch/merge
Date: Mon, 21 Jul 2008 13:33:52 +0200	[thread overview]
Message-ID: <20080721113352.GA21009@atjola.homenet> (raw)
In-Reply-To: <48847344.5060908@keyaccess.nl>

On 2008.07.21 13:30:12 +0200, Rene Herman wrote:
> On 21-07-08 13:09, Jeff King wrote:
>
>> On Mon, Jul 21, 2008 at 12:58:10PM +0200, Rene Herman wrote:
>>
>>> Thank you. Also due to a reply on the ALSA list by Mark brown I now 
>>> get  this. Yes, the remote was rebased while I had it setup as a 
>>> remote here  it seems; only recently have it under this name, so I 
>>> didn't think that  was the case. After a "git remote rm tiwai, git 
>>> remote add tiwai <url>"  things work fine again as it fetched a 
>>> completely new branch.
>>
>> Note that adding the remote with "git remote add" will add a fetchspec
>> line like this:
>>
>> [remote "tiwai"]
>>   fetch = +refs/heads/*:+refs/remotes/tiwai/*
>>
>> where the '+' means to force fetching rewound branches instead of
>> rejecting them (this is safe, since you are just overwriting tracking
>> branches, not your local work).
>
> Not here...
>
> rene@7ixe4:~/src/linux/7ixe4$ git remote add tmp  
> git://git.alsa-project.org/alsa-kernel.git
> rene@7ixe4:~/src/linux/7ixe4$ tail -3 .git/config 
>
> [remote "tmp"]
> 	url = git://git.alsa-project.org/alsa-kernel.git
> 	fetch = refs/heads/*:refs/remotes/tmp/*
> rene@7ixe4:~/src/linux/7ixe4$ git --version
> git version 1.5.5

Broken in 1.5.5 and 1.5.5.1, Jeff's fix went into 1.5.5.2. Bad luck ;-)

Björn

  reply	other threads:[~2008-07-21 11:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21  9:11 git pull versus fetch/merge Rene Herman
2008-07-21 10:23 ` Björn Steinbrink
2008-07-21 10:58   ` Rene Herman
2008-07-21 11:09     ` Jeff King
2008-07-21 11:09       ` Jeff King
2008-07-21 11:30       ` Rene Herman
2008-07-21 11:33         ` Björn Steinbrink [this message]
2008-07-21 11:39           ` Rene Herman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080721113352.GA21009@atjola.homenet \
    --to=b.steinbrink@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    --cc=rene.herman@keyaccess.nl \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox