projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c7560
)
Pazpar2 -V also shows Git SHA1.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 May 2009 11:00:09 +0000
(13:00 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 May 2009 11:00:09 +0000
(13:00 +0200)
src/pazpar2.c
patch
|
blob
|
history
diff --git
a/src/pazpar2.c
b/src/pazpar2.c
index
3352fa0
..
6b387b7
100644
(file)
--- a/
src/pazpar2.c
+++ b/
src/pazpar2.c
@@
-56,7
+56,12
@@
void child_handler(void *data)
static void show_version(void)
{
char yaz_version_str[80];
- printf("Pazpar2 " PACKAGE_VERSION "\n");
+ printf("Pazpar2 " PACKAGE_VERSION
+#ifdef PAZPAR2_VERSION_SHA1
+ " "
+ PAZPAR2_VERSION_SHA1
+#endif
+"\n");
yaz_version(yaz_version_str, 0);