From: Adam Dickmeiss Date: Tue, 5 May 2009 11:00:43 +0000 (+0200) Subject: Pazpar2 command 'info' also shows Git SHA1 ID. X-Git-Tag: v1.1.0~21 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=3ac93aba14d38cd5a5e97aa864778904274711e7;p=pazpar2-moved-to-github.git Pazpar2 command 'info' also shows Git SHA1 ID. --- diff --git a/src/http_command.c b/src/http_command.c index 1a38a82..340e7c0 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -855,7 +855,11 @@ static void cmd_info(struct http_channel *c) wrbuf_rewind(c->wrbuf); wrbuf_puts(c->wrbuf, "\n"); wrbuf_puts(c->wrbuf, " \n"); - wrbuf_puts(c->wrbuf, ""); + wrbuf_puts(c->wrbuf, "wrbuf, " sha1=\"%s\"", PAZPAR2_VERSION_SHA1); +#endif + wrbuf_puts(c->wrbuf, ">"); wrbuf_xmlputs(c->wrbuf, VERSION); wrbuf_puts(c->wrbuf, "");