get-tar-commit-id: use TYPEFLAG_GLOBAL_HEADER instead of magic value
commitc870de65024e8ee4ca1637f4765d2d61ecb51152
authorRené Scharfe <l.s.r@web.de>
Sat, 8 Apr 2023 10:25:04 +0000 (8 12:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Apr 2023 16:22:34 +0000 (10 09:22 -0700)
tree276fad0bc5c83268ff9117ce1c5ddc4014fc1de5
parent73876f4861cd3d187a4682290ab75c9dccadbc56
get-tar-commit-id: use TYPEFLAG_GLOBAL_HEADER instead of magic value

Use the same macro in the archive reader code as on the writer side in
archive-tar.c to document the connection.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/get-tar-commit-id.c