about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-02-22 19:01:15 +0000
committerJonathan "Duke" Leto <jonathan@leto.net>2011-02-22 19:01:15 +0000
commitd18aadd5b5e02a82935ef0040710087db4fb4849 (patch)
tree8c2fbacf8429eafb16dfae0f7a60906564b1c268 /lib
parentTeach jitterbug about reusing git repos to save bandwidth (diff)
downloadjitterbug-d18aadd5b5e02a82935ef0040710087db4fb4849.tar.gz
We really only need to fetch new commits, not pull or rebase them. rbuels++
Diffstat (limited to 'lib')
-rw-r--r--lib/jitterbug/Builder.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jitterbug/Builder.pm b/lib/jitterbug/Builder.pm
index 14a7bc4..dfb3f99 100644
--- a/lib/jitterbug/Builder.pm
+++ b/lib/jitterbug/Builder.pm
@@ -116,8 +116,8 @@ sub run_task {
         # TODO: Error Checking
         debug("Cleaning git repo");
         system("git clean -dfx");
-        debug("Rebasing new commits into $repo");
-        system("git pull --rebase");
+        debug("Fetching new commits into $repo");
+        system("git fetch");
         chdir $pwd;
         $r       = Git::Repository->new( work_tree => $build_dir );
     }