Commit 4a14a62e authored by Per Cederqvist's avatar Per Cederqvist

Handle Git client versions in kom-list-clients output.

parent 9e7ddbf3
2013-05-04 Per Cederqvist <ceder@lysator.liu.se> 2013-05-04 Per Cederqvist <ceder@lysator.liu.se>
Some basic Git adjustments. Some basic Git adjustments.
* commands1.el (lyskom-list-clients-collect): Handle Git client
versions.
* Makefile (vars.el): Use "Git" instead of "CVS" in CLIENTVERSION. * Makefile (vars.el): Use "Git" instead of "CVS" in CLIENTVERSION.
* .gitignore: Ignore files created by running "make". * .gitignore: Ignore files created by running "make".
......
...@@ -3113,6 +3113,8 @@ prefix argument \(C-u -), list all sessions." ...@@ -3113,6 +3113,8 @@ prefix argument \(C-u -), list all sessions."
((null client) version) ((null client) version)
((string-match "(.*; CVS)" version) ((string-match "(.*; CVS)" version)
(replace-in-string version "(.*; CVS)" "(from CVS)")) (replace-in-string version "(.*; CVS)" "(from CVS)"))
((string-match "(.*; Git)" version)
(replace-in-string version "(.*; Git)" "(from Git)"))
((string-match "\\s-*(build [^)]*)" version) ((string-match "\\s-*(build [^)]*)" version)
(replace-in-string version "\\s-*(build [^)]*)" "")) (replace-in-string version "\\s-*(build [^)]*)" ""))
(t version))) (t version)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment