diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 00:25:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 13:59:51 +0900 |
commit | 70c369cde064375483917f4874a6e5670ef48164 (patch) | |
tree | 03984c960748a94bbb7eac2c57b8924bdce42df2 /t/helper | |
parent | commit: convert uses of get_sha1_hex to get_oid_hex (diff) | |
download | tgif-70c369cde064375483917f4874a6e5670ef48164.tar.xz |
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')
-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) |