]> gitweb.factorcode.org Git - factor.git/commitdiff
irc.gitbot: fix load error
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 6 Sep 2010 00:55:22 +0000 (17:55 -0700)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 6 Sep 2010 00:55:22 +0000 (17:55 -0700)
extra/irc/gitbot/gitbot.factor

index 02337276e61e9ab0d013d49f451d3474ffc2d8da..c6fc67a8c63164e8026369020075e2b49ad3f372 100644 (file)
@@ -2,7 +2,7 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: fry irc.client irc.client.chats kernel namespaces
 sequences threads io.launcher io splitting
-make mason.common mason.updates calendar math timers
+make mason.common mason.git calendar math timers
 io.encodings.8-bit.latin1 debugger ;
 IN: irc.gitbot
 
@@ -47,7 +47,9 @@ M: object handle-message drop ;
 
 : check-for-updates ( chat -- )
     '[
-        git-id git-pull-cmd short-running-process git-id
+        git-id
+        { "git" "pull" "origin" "master" } short-running-process
+        git-id
         _ report-updates
     ] try ;