Commit 52f9474d66216e761c681de4459fba21b97eb02b

Thomas de Grivel 2018-01-24T22:15:56

Use git pull instead of fetch and checkout.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/repo.lisp b/repo.lisp
index 3eae99d..fd46bf2 100644
--- a/repo.lisp
+++ b/repo.lisp
@@ -290,8 +290,7 @@
 
 (defmethod update ((repo git-repo))
   (when (probe-dir (repo-local-dir repo))
-    ($git-fetch repo)
-    ($git-checkout repo)))
+    ($git-pull repo)))
 
 (defun git-repo-uri-handler (uri)
   (let ((uri (first (string-split "#" uri))))