This may be extreme nitpicking...

+        l = ["detached\n"]
> +    branch = "/" .join(l)[:-1]
>

Use "none" instead of "detached"? The logic being: we are trying to add the
branch name to the version, so "none" if not on a branch, "unknown' if the
branch cannot be determined.

By the way, autotools builds get "[git: HEAD/commit-id]" when not on a
local branch and flags like + and * appended to commit id when there are
uncommitted changes. Not saying we reproduce that on Windows.

Selva
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to