From 7a380fa160aaeb8e22006a2993d7a8e6449f0510 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Thu, 20 May 2010 03:20:49 -0400 Subject: [PATCH] Minor git tweak --- collects/meta/build/build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/collects/meta/build/build b/collects/meta/build/build index 784d97e7df..bc37f13dc2 100755 --- a/collects/meta/build/build +++ b/collects/meta/build/build @@ -655,8 +655,7 @@ git_get() { # inputs: git repository, git branch, path in $maindir fi _cd "$dir" _run git checkout "$branch" - _run git pull --all - _run git checkout "$branch" + _run git pull --ff-only --all git status -s > "$tmpdir/git-st" || exit_error "problems running git status" if [[ -s "$tmpdir/git-st" ]]; then echo "------------"