git.fiddlerwoaroof.com
porcelain.lisp
991d0162
 (in-package :fwoar.cl-git)
 
 (defvar *git-repository* nil
   "The git repository path for porcelain commands to operate on.")
 (defvar *git-encoding* :utf-8
   "The encoding to use when parsing git objects")
 
 (defun git-show (object)
f1a12e8a
   (elt (sp-ob
         (babel:octets-to-string
          (extract-object (repository *git-repository*)
                          object)
          :encoding *git-encoding*))
        1))