openwrt/luci — pull request #243 by hnyman (2014-10-31 14:24:59+00:00)
Title: build/mkversion.sh: detect git branch and show that in Luci

Detect the current git branch and use that as the branch name in Luci.

Previous logic was based on the old svn repo structure & functionality
and showed all git branches as "LuCI Trunk".

This should be committed also to LuCI Trunk, but is more critical for private builds from luci-0.12, so I am filing this against the 0.12 branch. The core issue is also discussed in #239.

Signed-off-by: Hannu Nyman