From 0c1934fd9a9ee2552eba6562758e09e41220d109 Mon Sep 17 00:00:00 2001 From: Carl Sorensen Date: Sat, 26 Dec 2009 16:51:51 -0700 Subject: [PATCH] lilycontrib.tcl -- version 0.59 Make translation repo have full history Rename to lily-git.tcl --- scripts/auxiliar/{lilycontrib.tcl => lily-git.tcl} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename scripts/auxiliar/{lilycontrib.tcl => lily-git.tcl} (98%) diff --git a/scripts/auxiliar/lilycontrib.tcl b/scripts/auxiliar/lily-git.tcl similarity index 98% rename from scripts/auxiliar/lilycontrib.tcl rename to scripts/auxiliar/lily-git.tcl index d36548987b..02f1040caf 100755 --- a/scripts/auxiliar/lilycontrib.tcl +++ b/scripts/auxiliar/lily-git.tcl @@ -4,7 +4,7 @@ # Copyright 2009 by Johannes Schindelin and Carl Sorensen # -set version 0.58 +set version 0.59 # set to 1 to set up for translation, to 0 for other set translator 0 @@ -24,7 +24,6 @@ if {$translator == 1} { set originHead "master" set rebase 1 } - package require Tk # Helper functions @@ -128,6 +127,7 @@ proc update_lilypond_with_rebase {} { proc update_lilypond {rebase} { global lily_dir global originHead + global translator . config -cursor watch if {![file exists $lily_dir]} { write_to_output "Cloning LilyPond (this can take some time) ...\n" @@ -137,7 +137,11 @@ proc update_lilypond {rebase} { git config core.bare false git remote add -t $originHead \ origin git://git.sv.gnu.org/lilypond.git - git fetch --depth 1 + if {$translator == 1} { + git fetch + } else { + git fetch --depth 1 + } git reset --hard origin/$originHead git config branch.$originHead.remote origin git config branch.$originHead.merge refs/heads/$originHead -- 2.39.5