From 4a14a62e38d09de91793bf1d79c3ee99aaa72045 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Sat, 4 May 2013 23:14:47 +0200
Subject: [PATCH] Handle Git client versions in kom-list-clients output.

---
 src/ChangeLog    | 2 ++
 src/commands1.el | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/ChangeLog b/src/ChangeLog
index 1b40a59d..0a837d8f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,8 @@
 2013-05-04  Per Cederqvist  <ceder@lysator.liu.se>
 
 	Some basic Git adjustments.
+	* commands1.el (lyskom-list-clients-collect): Handle Git client
+	versions.
 	* Makefile (vars.el): Use "Git" instead of "CVS" in CLIENTVERSION.
 	* .gitignore: Ignore files created by running "make".
 
diff --git a/src/commands1.el b/src/commands1.el
index 9ed4dc34..5850d043 100644
--- a/src/commands1.el
+++ b/src/commands1.el
@@ -3113,6 +3113,8 @@ prefix argument \(C-u -), list all sessions."
 		((null client) version)
 		((string-match "(.*; CVS)" version)
 		 (replace-in-string version "(.*; CVS)" "(from CVS)"))
+		((string-match "(.*; Git)" version)
+		 (replace-in-string version "(.*; Git)" "(from Git)"))
 		((string-match "\\s-*(build [^)]*)" version)
 		 (replace-in-string version "\\s-*(build [^)]*)" ""))
 		(t version)))
-- 
GitLab