diff options
author | René Scharfe <l.s.r@web.de> | 2022-06-15 18:59:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-15 13:19:46 -0700 |
commit | 96b9e5151bf0cad110d2f0bf16f413b9fc9f606c (patch) | |
tree | dfe85a14a52cf431f6ff38e5954c1c62df96ed16 /archive.h | |
parent | 650134a47894244b3804b5d175439b362453fa4a (diff) | |
download | git-96b9e5151bf0cad110d2f0bf16f413b9fc9f606c.tar.gz |
archive: rename archiver data field to filter_command
The void pointer "data" in struct archiver is only used to store filter
commands to pass tar archives to, like gzip. Rename it accordingly and
also turn it into a char pointer to document the fact that it's a string
reference.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ struct archiver { const char *name; int (*write_archive)(const struct archiver *, struct archiver_args *); unsigned flags; - void *data; + char *filter_command; }; void register_archiver(struct archiver *); |