manage.py: checkout commit in commit_patch()
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 17:07:23 +0000 (19:07 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 17:07:23 +0000 (19:07 +0200)
commitf5a1f9d8c445e5ee325b38b81f83f4703185cafc
treecad8afa5aae4265373d7888032d785bda5be0417
parent211facc09aa6f980a6b486929a842b75e15d734e
manage.py: checkout commit in commit_patch()

Do 'checkout' instead of 'reset --hard' as that fails on some old
versions of git if HEAD points to a non-existent ref (i.e. orphan
__tmp__ branch in our case).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
manage.py