git.fiddlerwoaroof.com
Browse code

Leave *GIT-REPOSITORY* unbound by default

Javier Olaechea authored on 09/11/2020 18:07:08
Showing 1 changed files
... ...
@@ -1,7 +1,10 @@
1 1
 (in-package :fwoar.cl-git)
2 2
 
3
-(defvar *git-repository* nil
4
-  "The git repository path for porcelain commands to operate on.")
3
+;; TODO: Update the code so this uses an object instead of a path.
4
+(defvar *git-repository*)
5
+(setf (documentation '*git-repository* 'variable)
6
+      "The git repository path for porcelain commands to operate on.")
7
+
5 8
 (defvar *git-encoding* :utf-8
6 9
   "The encoding to use when parsing git objects")
7 10