Check for valid git repository in GitInfo::getHeadCommitDate
authorBryan Davis <bd808@wikimedia.org>
Tue, 6 May 2014 19:15:09 +0000 (13:15 -0600)
committerBryan Davis <bd808@wikimedia.org>
Tue, 6 May 2014 19:19:43 +0000 (13:19 -0600)
commit831265410ec45131470e9f12415198c9e407b132
treeb7d1296f130cfccc71d5f4231138337ba9a4ac33
parent11eab8755a10bd158fe64e1527cc86398fcf709d
Check for valid git repository in GitInfo::getHeadCommitDate

Ensure that GitInfo::getHead returns a valid value before attempting to
use the git binary to extract a commit date.

Bug: 64948
Change-Id: Ib0d245306842706dbb5d4b9522bb381a5f55526c
includes/GitInfo.php