summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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