diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-02-22 19:01:15 +0000 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-02-22 19:01:15 +0000 |
commit | d18aadd5b5e02a82935ef0040710087db4fb4849 (patch) | |
tree | 8c2fbacf8429eafb16dfae0f7a60906564b1c268 /lib/jitterbug/Builder.pm | |
parent | Teach jitterbug about reusing git repos to save bandwidth (diff) | |
download | jitterbug-d18aadd5b5e02a82935ef0040710087db4fb4849.tar.gz |
We really only need to fetch new commits, not pull or rebase them. rbuels++
Diffstat (limited to 'lib/jitterbug/Builder.pm')
-rw-r--r-- | lib/jitterbug/Builder.pm | 4 |
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 ); } |