From f5265c436460bbb6be390b9727e328f7ebc967d9 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 11 Aug 2009 14:34:13 +0200 Subject: [PATCH] Avoid warnings We know that the branch is yet to be born... Let's use Git plumbing to avoid scaring the user. Signed-off-by: Johannes Schindelin --- lilycontrib.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lilycontrib.tcl b/lilycontrib.tcl index 72df7030c2..32c010ce09 100755 --- a/lilycontrib.tcl +++ b/lilycontrib.tcl @@ -58,7 +58,9 @@ proc update_lilypond {} { git remote add -t master \ origin git://repo.or.cz/lilypond.git git fetch --depth 1 - git checkout -b master origin/master + git reset --hard origin/master + git config branch.master.remote origin + git config branch.master.merge refs/heads/master } else { git pull } -- 2.11.4.GIT