archive: factor out helper functions for handling attributes
authorRené Scharfe <l.s.r@web.de>
Sat, 19 Aug 2017 05:29:43 +0000 (07:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Aug 2017 07:40:23 +0000 (00:40 -0700)
commitc6c08f7e9a94d062fb2f90687156798e78cf8991
tree5384ab091ed6098a83003e6568c1079dfbef540c
parentbed69a6e82bbef99159f9051fd4581cd37c9acf6
archive: factor out helper functions for handling attributes

Add helpers for accessing attributes that encapsulate the details of how
to retrieve their values.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c