Browse code
tweak porcelain
Ed Langley authored on 03/05/2019 07:40:53
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -6,6 +6,9 @@ |
6 | 6 |
"The encoding to use when parsing git objects") |
7 | 7 |
|
8 | 8 |
(defun git-show (object) |
9 |
- (babel:octets-to-string (extract-object (repository *git-repository*) |
|
10 |
- object) |
|
11 |
- :encoding *git-encoding*)) |
|
9 |
+ (elt (sp-ob |
|
10 |
+ (babel:octets-to-string |
|
11 |
+ (extract-object (repository *git-repository*) |
|
12 |
+ object) |
|
13 |
+ :encoding *git-encoding*)) |
|
14 |
+ 1)) |