diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-08-18 20:04:21 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-08-19 15:04:59 -0700 |
| commit | e0cb7cdb898d65bca6f1f4ff1d80f15a09b576db (patch) | |
| tree | 4790e83dabdf5a326390002d2bb95227e80a1348 /wt-status.c | |
| parent | cache: remove null_sha1 (diff) | |
| download | git-e0cb7cdb898d65bca6f1f4ff1d80f15a09b576db.tar.gz git-e0cb7cdb898d65bca6f1f4ff1d80f15a09b576db.zip | |
wt-status: convert struct wt_status to object_id
Change struct wt_status to use struct object_id instead of an array of
unsigned char.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
| -rw-r--r-- | wt-status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c index 9f6c65a580..7cf220fed4 100644 --- a/wt-status.c +++ b/wt-status.c @@ -2025,7 +2025,7 @@ static void wt_porcelain_v2_print_tracking(struct wt_status *s) char eol = s->null_termination ? '\0' : '\n'; fprintf(s->fp, "# branch.oid %s%c", - (s->is_initial ? "(initial)" : sha1_to_hex(s->sha1_commit)), + (s->is_initial ? "(initial)" : oid_to_hex(&s->oid_commit)), eol); if (!s->branch) |
