Thread (5 messages) 5 messages, 4 authors, 2016-08-11

Re: [PATCH] Use new .git/config for storing "origin" shortcut repository

flat view

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:40:54

Possibly related (same subject, not in this thread)

Hi,

On Sun, 26 Nov 2006, Andy Parkins wrote:
quoted hunk ↗ jump to hunk
-		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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help