debug: Don't show git branch if on a detached HEAD
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 24 Aug 2016 22:44:41 +0000 (15:44 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 24 Aug 2016 22:44:41 +0000 (15:44 -0700)
commit14037fd04dffae387d149534f1ec71d6574086a3
tree5374be6fac09db5778d7d5df353e29dd06fb1a78
parentbc335c231d3c6ca5a63936e1f3b3798384c91cbb
debug: Don't show git branch if on a detached HEAD

The short SHA1 is already shown with the MediaWiki version, and
displaying the full SHA1 again adds 40+ more characters. Mostly this
annoys me as it causes the toolbar to wrap earlier when making my
browser window smaller.

Change-Id: If7474a090466de708d65cef6dcc30a36df56621f
includes/debug/MWDebug.php