error: sha1 information is lacking or useless (src/template_head2).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch