Re: [PATCH] Use new .git/config for storing "origin" shortcut repository
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 26, 2006, 13:30 UTC
- Message-ID
- <Pine.LNX.4.63.0611261429420.30004@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <200611261210.52154.andyparkins@gmail.com>
Hi,
On Sun, 26 Nov 2006, Andy Parkins wrote:
Show 5 quoted lines
> - echo >"$GIT_DIR/remotes/$origin" \ > - "URL: $repo > -Pull: refs/heads/$head_points_at:$origin_track" && > + git-repo-config remote."$origin".url "$repo" && > + git-repo-config remote."$origin".fetch "refs/heads/$head_points_at:$origin_track" ^$ &&
You do not need the "^$" here: this _is_ the first entry. I would even argue that this _has_ to replace whatever might be there (could be introduced by some bogus templates, for example), since the first fetch entry has a special meaning for pull.
Ciao, Dscho