소스 검색

kex: print the git hash instead of the svn hash

Andrei Pelinescu-Onciul 15 년 전
부모
커밋
9683a7937d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules_k/kex/mi_core.c

+ 2 - 2
modules_k/kex/mi_core.c

@@ -144,8 +144,8 @@ static struct mi_root *mi_version(struct mi_root *cmd, void *param)
 	if (node==0) 
 		goto error;	
 	
-	node = add_mi_node_child( rpl, 0, MI_SSTR("SVN"), SVNREVISION,
-			sizeof(SVNREVISION)-1);
+	node = add_mi_node_child( rpl, 0, MI_SSTR("GIT"), (char*)repo_hash,
+			strlen(repo_hash));
 	if (node==0) 
 		goto error;