git-apply: parse index information