Browse Source

Fix detecting git repository (fixes #2173, thx ncopa)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2722 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.27
Stefan Bühler 12 years ago
parent
commit
f6b3c15024
  1. 1
      NEWS
  2. 2
      src/Makefile.am

1
NEWS

@ -8,6 +8,7 @@ NEWS
* Fix mod_proxy HUP handling (send final chunk, fix usage counter)
* mod_proxy: close connection on write error (fixes #2114)
* Check uri instead of physical path for directory redirect
* Fix detecting git repository (fixes #2173, thx ncopa)
- 1.4.26 - 2010-02-07
* Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)

2
src/Makefile.am

@ -19,7 +19,7 @@ versionstamp:
REVISION=""; \
fi; \
fi; \
if test -z "$$REVISION" -a -x "`which git`"; then \
if test -z "$$REVISION" -a -d "$(top_srcdir)/.git" -a -x "`which git`"; then \
REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \
fi; \
if test -n "$$REVISION"; then \

Loading…
Cancel
Save