git.fiddlerwoaroof.com
Browse code

update readme

Ed Langley authored on 12/07/2019 07:01:24
Showing 1 changed files
... ...
@@ -22,34 +22,34 @@
22 22
 
23 23
 *** Get the commit id of the master branch for a specific repository:
24 24
 
25
-    #+BEGIN_SRC lisp
25
+    #+BEGIN_SRC lisp :exports both
26 26
       (git:in-repository "~/quicklisp/local-projects/cl-git")
27 27
       (git:git (branch "master")) ;; the argument to branch defaults to "master"
28 28
     #+END_SRC 
29 29
 
30 30
     #+RESULTS:
31
-    : 077088c8c359489ed1f6d8e441ec76438076542e
31
+    : 821ddf96c37e65ccc9a0f4bfe2b8ac6e255a2cb6
32 32
 
33 33
     
34 34
 *** Show the commit message
35 35
 
36
-    #+BEGIN_SRC lisp
36
+    #+BEGIN_SRC lisp :exports both
37 37
       (git:in-repository "~/quicklisp/local-projects/cl-git")
38 38
       (git:git (branch "master") ;; the argument to branch defaults to "master"
39 39
                (show))
40 40
     #+END_SRC 
41 41
 
42 42
     #+RESULTS:
43
-    : tree e70a61be268cbaa6a7825295fbe54beaa3c59c71
44
-    : parent e1f7c67a8774d65bb941eeb2b41f71f333fa1a94
45
-    : author Ed Langley <el-github@elangley.org> 1562893971 -0700
46
-    : committer Ed Langley <el-github@elangley.org> 1562893971 -0700
43
+    : tree a7cbe10af08aed7b24b633649db6dc4cec011a3f
44
+    : parent 077088c8c359489ed1f6d8e441ec76438076542e
45
+    : author Ed Langley <el-github@elangley.org> 1562896534 -0700
46
+    : committer Ed Langley <el-github@elangley.org> 1562896534 -0700
47 47
     : 
48
-    : (bump)
48
+    : Add README, polish porcelain
49 49
 
50 50
 *** Show the messages of the commit's parent
51 51
 
52
-    #+BEGIN_SRC lisp
52
+    #+BEGIN_SRC lisp :exports both
53 53
       (git:in-repository "~/quicklisp/local-projects/cl-git")
54 54
       (git:git (branch "master") ;; the argument to branch defaults to "master"
55 55
                (commit-parents) 
... ...
@@ -58,13 +58,36 @@
58 58
     #+END_SRC 
59 59
 
60 60
     #+RESULTS:
61
-    : tree 9c8827bc556311dd4a71ec6ccc08860b1b415676
62
-    : parent ff33293b415cc1907a6071650d045b3dffd8e5c0
63
-    : author Ed Langley <el-github@elangley.org> 1558056528 -0700
64
-    : committer Ed Langley <el-github@elangley.org> 1558056528 -0700
61
+    : tree e70a61be268cbaa6a7825295fbe54beaa3c59c71
62
+    : parent e1f7c67a8774d65bb941eeb2b41f71f333fa1a94
63
+    : author Ed Langley <el-github@elangley.org> 1562893971 -0700
64
+    : committer Ed Langley <el-github@elangley.org> 1562893971 -0700
65 65
     : 
66
-    : Fix .asd
66
+    : (bump)
67
+
68
+*** Show the files in a commit
67 69
 
70
+    #+BEGIN_SRC lisp :exports both
71
+      (git:in-repository "~/quicklisp/local-projects/cl-git")
72
+      (list* #("name" "mode" "hash")
73
+             (git:git (branch "master")
74
+                      (contents)
75
+                      (tree)
76
+                      (contents)
77
+                      (filter-tree ".*.lisp")))
78
+    #+END_SRC
79
+
80
+    #+RESULTS:
81
+    | name           |   mode | hash                                     |
82
+    | branch.lisp    | 100644 | e06b66967fa4fa005ccf00dcbc7d839b22259593 |
83
+    | extract.lisp   | 100644 | e69272bd90575f4dc99801a06287531bf2d09017 |
84
+    | git.lisp       | 100644 | 6e4821d169fc505dd2b598d4bf4bdfc512ea6ebd |
85
+    | graph.lisp     | 100644 | a4220a28d4800e38b8b8f85db0d97afc8b889293 |
86
+    | model.lisp     | 100644 | dbfe85d03296435b4a33ef3dc26456080e3f0263 |
87
+    | package.lisp   | 100644 | d2818bb88b8ec5235a8ae91309f31ba58d941d42 |
88
+    | porcelain.lisp | 100644 | c1b83741c4dc3104f1686c20b143300db0a0e258 |
89
+    | undelta.lisp   | 100644 | ae0a070133d1a14d6e940a0f790f40b37e885b22 |
90
+    | util.lisp      | 100644 | 87c2b9b2dfaa1fbf66b3fe88d3a925593886b159 |
68 91
     
69 92
 ** Not Implemented Yet:
70 93