branch: externals/vc-jj
commit a7c26b585dfa7ea36d03264ee0d08e816bd50cd4
Author: Kristoffer Balintona <[email protected]>
Commit: Kristoffer Balintona <[email protected]>
Implement the working-revision-symbol VC method
---
vc-jj.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/vc-jj.el b/vc-jj.el
index c1dd82a74e..59b7a0d763 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -366,6 +366,13 @@ See also `vc-jj--command-parseable' and
`vc-jj--process-lines'."
(defalias 'vc-jj-async-checkins #'always)
+;;;; working-revision-symbol
+;; Emacs 31 method
+
+;; Use `defalias' and `cl-constantly' like
+;; `vc-git-working-revision-symbol' does
+(defalias 'vc-jj-working-revision-symbol (cl-constantly "@"))
+
;;; STATE-QUERYING FUNCTIONS
;;;; registered