From 34c25f9974b1e549904b871d09e8a48b727e1a4d Mon Sep 17 00:00:00 2001 From: Hidde Boomsma Date: Sat, 15 Jun 2024 16:09:57 +0200 Subject: [PATCH] set delimiter to \x1E (record separator ) Allow tabs in commit messages by using the much more esoteric record separator (\x1E). \0 was is not allowed by git. --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6caf4fd..ea4403d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ import createDebugger from "debug"; const debug = createDebugger("gitlog"); -const delimiter = "\t"; +const delimiter = "\x1E"; const fieldMap = { hash: "%H", abbrevHash: "%h",