Skip to content

Commit fee1b63

Browse files
committed
Add client-info to clone op
1 parent 2b2492b commit fee1b63

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nrepl-client.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,12 +1032,16 @@ ADDITIONAL-PARAMS is a plist to be appended to the request message."
10321032
connection
10331033
tooling))
10341034

1035+
(defvar cider-version)
1036+
10351037
(defun nrepl-sync-request:clone (connection &optional tooling)
10361038
"Sent a :clone request to create a new client session.
10371039
The request is dispatched via CONNECTION.
10381040
Optional argument TOOLING Tooling is set to t if wanting the tooling session
10391041
from CONNECTION."
1040-
(nrepl-send-sync-request '("op" "clone")
1042+
(nrepl-send-sync-request `("op" "clone"
1043+
"client-name" "CIDER"
1044+
"client-version" ,cider-version)
10411045
connection
10421046
nil tooling))
10431047

0 commit comments

Comments
 (0)