diff options
author | Erich Eckner <git@eckner.net> | 2015-11-20 08:52:27 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2015-11-20 08:52:27 +0100 |
commit | 3e7a34e7dc5cd2c3155816ca0b47ec012fbe5afd (patch) | |
tree | b3d53cc5d732f2d0b8e12ad1e4afd17eb26fc8f9 | |
parent | 41fa2f618034e7c20cecbe56ef34268c92dede14 (diff) | |
download | units-3e7a34e7dc5cd2c3155816ca0b47ec012fbe5afd.tar.xz |
gitupdateunit.pas verwendet jetzt "git pull --all"
-rw-r--r-- | gitupdateunit.pas | 3 |
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 |