summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-11-20 08:52:27 +0100
committerErich Eckner <git@eckner.net>2015-11-20 08:52:27 +0100
commit3e7a34e7dc5cd2c3155816ca0b47ec012fbe5afd (patch)
treeb3d53cc5d732f2d0b8e12ad1e4afd17eb26fc8f9
parent41fa2f618034e7c20cecbe56ef34268c92dede14 (diff)
downloadunits-3e7a34e7dc5cd2c3155816ca0b47ec012fbe5afd.tar.xz
gitupdateunit.pas verwendet jetzt "git pull --all"
-rw-r--r--gitupdateunit.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitupdateunit.pas b/gitupdateunit.pas
index 074d3b2..b0f06c2 100644
--- a/gitupdateunit.pas
+++ b/gitupdateunit.pas
@@ -27,8 +27,9 @@ initialization
tmpDir:='';
output:='';
- setlength(args,1);
+ setlength(args,2);
args[0]:='pull';
+ args[1]:='--all';
if runCommandInDir(myDir,'/usr/bin/git',args,output) then begin
updated:=updated or (output<>'Already up-to-date.'#10);
if runCommandInDir(baseDir+'units','/usr/bin/git',args,output) then begin