knotserver/git: rework merge check to also use `git am`
we were using `git apply` in merge check and `git am` for the actual
merge, but in reality, there are slight behavior changes among the two.
this change switches out `git apply` in `mergeCheck` to use `git am`
when dealing with mailbox style patches.
Signed-off-by: oppiliappan <me@oppi.li>
authored by
tangled.org
86081872
0fd947f3