diff options
author | Justin Tobler <jltobler@gmail.com> | 2025-03-19 13:34:09 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-03-21 03:40:02 -0700 |
commit | 1c3c1ab3d2a9558050ef6beee0a416700f6b953f (patch) | |
tree | 7a89a1be2d2a4cacbb38ed3ee5a5d6c46b4f1776 /builtin/commit.c | |
parent | c3d59c2e70c939c39cbeb545b30899d52b650dfc (diff) |
rev-list: support NUL-delimited --boundary option
The `--boundary` option for git-rev-list(1) prints boundary objects
found while performing the object walk in the form:
$ git rev-list --boundary <rev>
-<oid> LF
Add support for printing boundary objects in a NUL-delimited format when
the `-z` option is enabled.
$ git rev-list -z --boundary <rev>
<oid> NUL boundary=yes NUL
In this mode, instead of prefixing the boundary OID with '-', a separate
`boundary=yes` token/value pair is appended.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions