mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
dir: convert struct untracked_cache_dir to object_id
Convert the exclude_sha1 member of struct untracked_cache_dir and rename it to exclude_oid. Eliminate several hard-coded integral constants, and update a function name that referred to SHA-1. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
26ea3e7dca
commit
70c369cde0
@@ -23,7 +23,7 @@ static void dump(struct untracked_cache_dir *ucd, struct strbuf *base)
|
||||
len = base->len;
|
||||
strbuf_addf(base, "%s/", ucd->name);
|
||||
printf("%s %s", base->buf,
|
||||
sha1_to_hex(ucd->exclude_sha1));
|
||||
oid_to_hex(&ucd->exclude_oid));
|
||||
if (ucd->recurse)
|
||||
fputs(" recurse", stdout);
|
||||
if (ucd->check_only)
|
||||
|
||||
Reference in New Issue
Block a user