mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
Merge branch 'jt/rev-list-z'
"git rev-list" learns machine-parsable output format that delimits each field with NUL. * jt/rev-list-z: rev-list: support NUL-delimited --missing option rev-list: support NUL-delimited --boundary option rev-list: support delimiting objects with NUL bytes rev-list: refactor early option parsing rev-list: inline `show_object_with_name()` in `show_object()`
This commit is contained in:
@@ -59,14 +59,6 @@ implement_shared_commit_slab(revision_sources, char *);
|
||||
|
||||
static inline int want_ancestry(const struct rev_info *revs);
|
||||
|
||||
void show_object_with_name(FILE *out, struct object *obj, const char *name)
|
||||
{
|
||||
fprintf(out, "%s ", oid_to_hex(&obj->oid));
|
||||
for (const char *p = name; *p && *p != '\n'; p++)
|
||||
fputc(*p, out);
|
||||
fputc('\n', out);
|
||||
}
|
||||
|
||||
static void mark_blob_uninteresting(struct blob *blob)
|
||||
{
|
||||
if (!blob)
|
||||
|
||||
Reference in New Issue
Block a user