I'm using text files as a kind of very simple database, that just contain NUL-separated strings. I want to manage these files by git, as text.
Here is a sample file (^@
means NUL):
Tlrl-ng tl tlu
^@aget does not wait for all forked processed. Probably unsolable unless we invoke zsh -c
^@webhook siri
^@login as peter
If this is not possible, then what character should I use instead of NUL? The records can be multiline.
Please note that I need git-merge
to consider these files as normal text. I use the gitattribute * merge=union diff text
.