You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/legit/porcelain.lisp
+81-9Lines changed: 81 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
2
-
(defpackage:lem/porcelain
2
+
(uiop:define-package:lem/porcelain
3
3
(:use:cl)
4
4
(:shadow:push)
5
5
(:import-from:trivial-types
@@ -26,7 +26,9 @@
26
26
:stage
27
27
:unstage
28
28
:vcs-project-p
29
-
)
29
+
:commits-log
30
+
:*commits-log-page-size*
31
+
:commit-count)
30
32
(:documentation"Functions to run VCS operations: get the list of changes, of untracked files, commit, push… Git support is the main goal, a simple layer is used with other VCS systems (Fossil, Mercurial).
31
33
32
34
On interactive commands, Legit will check what VCS is in use in the current project.
@@ -43,7 +45,7 @@ Supported version control systems:
43
45
- Fossil: preliminary support
44
46
- Mercurial: preliminary support
45
47
46
-
TODOs:
48
+
TODOs:
47
49
48
50
Mercurial:
49
51
@@ -67,6 +69,9 @@ Mercurial:
67
69
(defvar*nb-latest-commits*10
68
70
"Number of commits to show in the status.")
69
71
72
+
(defvar*commits-log-page-size*200
73
+
"Number of commits to show in the commits log.")
74
+
70
75
(defvar*branch-sort-by*"-creatordate"
71
76
"When listing branches, sort by this field name.
72
77
Prefix with \"-\" to sort in descending order.
@@ -470,8 +475,13 @@ allows to learn about the file state: modified, deleted, ignored… "
0 commit comments