I use "hg-git" so that may contribute to what I'm seeing.
But I've tried this on a few files and only this one file has an issue.
I mad a tiny change to test_vim9_func.vim, and when I diff I get
$ hg diff | head -5
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim
index d07bbfba70705d5d371e25907ebb6f9f3ba4cb69..cb75bad01b8374ece9f84f6ac084a65eb8615490
GIT binary patch
literal 107940
zc%1FM{d?Os(kOa=_FsW2XG^J397%TKL~oOBn#A3nZIeAsy6t@&zj`Q%wpmN0mZWTX
I tried this both on a local clone of the main vim repo and a clone of my fork of the vim repo.
I don't know git (and am not interested in learning it, quite the opposite).
If anyone can provide some insight on why I'm seeing "GIT binary patch" for this one file...
-ernie