Browse code

kex: print the git hash instead of the svn hash

Andrei Pelinescu-Onciul authored on 13/07/2010 18:40:14
Showing 1 changed files
... ...
@@ -144,8 +144,8 @@ static struct mi_root *mi_version(struct mi_root *cmd, void *param)
144 144
 	if (node==0) 
145 145
 		goto error;	
146 146
 	
147
-	node = add_mi_node_child( rpl, 0, MI_SSTR("SVN"), SVNREVISION,
148
-			sizeof(SVNREVISION)-1);
147
+	node = add_mi_node_child( rpl, 0, MI_SSTR("GIT"), (char*)repo_hash,
148
+			strlen(repo_hash));
149 149
 	if (node==0) 
150 150
 		goto error;
151 151