On 24/06/12 9:05 AM, Christian Brabandt wrote:
On Mi, 12 Jun 2024, Ernie Rael wrote:
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...
This is probably because of the ASCI NUL characters in the
Test_invalid_redir() function, which cause git/hg to detect this file as
non-ascii and therefore creates this binary patch. In git, one could
mark it as text, but not sure if a patch would then still work if it
affects those characters. On the other hand, I would hope, that git/hg
is hopefully fine importing such a binary patch.
Ah, thanks.
I was concerned that it was some kind of metadata issue with the file
and not the file itself.
"hg diff" has an option to treat all files as text (now I know (till I
forget)).
-ernie
Thanks,
Christian
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/5c0ff4a7-5e87-4c0b-b585-bd4142911134%40raelity.com.