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
This commit is contained in:
parent
a0b5391e77
commit
f6b3c15024
1
NEWS
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)
|
||||
|
|
|
@ -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…
Reference in New Issue