summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xgit_version.sh1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 03cf19b0..c15fa0fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-30 Frank Ch. Eigler <fche@elastic.org>
+
+ * git_version.sh: Don't print GIT_BRANCH into GIT_MESSAGE, as it
+ is local, and "(no branch)" confuses other stuff. The SHA1 commit
+ ID is enough.
+
2009-01-29 Dave Brolley <brolley@redhat.com>
* stap-client (initialization): Set our_host_name and our_domain_name
diff --git a/git_version.sh b/git_version.sh
index 50658970..d39d96c9 100755
--- a/git_version.sh
+++ b/git_version.sh
@@ -307,7 +307,6 @@ cat<<EOF
# else /* !GIT_NOT_FOUND */
# define GIT_MESSAGE \\
GIT_DIST_MSG \\
- "git branch " GIT_BRANCH ", " \\
"commit " GIT_SHAID GIT_DIRTY_MSG \\
GIT_ERROR_MSG
# endif /* GIT_NOT_FOUND */