diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 03:25:48 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 07:59:51 +0300 |
commit | 70c369cde064375483917f4874a6e5670ef48164 (patch) | |
tree | 03984c960748a94bbb7eac2c57b8924bdce42df2 /t/helper/test-dump-untracked-cache.c | |
parent | 26ea3e7dca42266faa74f2080d28ecdd832d011d (diff) |
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>
Diffstat (limited to 't/helper/test-dump-untracked-cache.c')
-rw-r--r-- | t/helper/test-dump-untracked-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-dump-untracked-cache.c b/t/helper/test-dump-untracked-cache.c index d7c55c2355..bd92fb305a 100644 --- a/t/helper/test-dump-untracked-cache.c +++ b/t/helper/test-dump-untracked-cache.c @@ -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) |