Skip to content

Commit

Permalink
Merge pull request #1224 from vindarel/main
Browse files Browse the repository at this point in the history
legit/porcelain: proper-list string type, fix hg latest commits
  • Loading branch information
cxxxr authored Jan 3, 2024
2 parents d3aa2e6 + d10d435 commit 142a6a6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extensions/legit/porcelain.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
(defpackage :lem/porcelain
(:use :cl)
(:shadow :push)
(:import-from :trivial-types
:proper-list)
(:export
:*vcs*
:apply-patch
Expand Down Expand Up @@ -46,15 +48,15 @@ Mercurial:
|#

(declaim (type (cons) *git-base-arglist*))
(declaim (type (proper-list string) *git-base-arglist*))
(defvar *git-base-arglist* (list "git")
"The git program, to be appended command-line options.")

(declaim (type (cons) *fossil-base-args*))
(declaim (type (proper-list string) *fossil-base-args*))
(defvar *fossil-base-args* (list "fossil")
"The fossil program, to be appended command-line options.")

(declaim (type (cons) *hg-base-arglist*))
(declaim (type (proper-list string) *hg-base-arglist*))
(defvar *hg-base-arglist* (list "hg")
"The mercurial program (hg), to be appended command-line options.")

Expand Down Expand Up @@ -470,7 +472,7 @@ summary: test
((equal key "summary")
(setf summary (str:trim val))
(setf (getf entry :summary) val)
(setf (getf entry :message) val)
(setf (getf entry :message)
(str:concat " " val))
(setf (getf entry :line)
(str:concat changeset " " summary))))
Expand Down

0 comments on commit 142a6a6

Please sign in to comment.