diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-06 19:58:21 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-06 20:04:01 +0100 |
commit | f1a6d063b0bf0ca98e0578482b1541907a78bb3a (patch) | |
tree | 088b99594737dc6d1c990684b25b9dc611c08efe /docs/man8 | |
parent | 0d26fab3172453cc5fed4c3a9b01cc2d66baec3c (diff) |
version.sh: fix empty result when git describe fails
fixes an error in travis, which makes a shallow clone of 50 commits.
if the last tag is older than 50 commits, we get:
"fatal: No names found, cannot describe anything."
this caused a premature exit due to an assert error in safe_write()
on this line: assert (count > 0);
because the version variable in tinyproxy was empty.
Diffstat (limited to 'docs/man8')
0 files changed, 0 insertions, 0 deletions