summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:44 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:07 -0700
commitf3e743a0d972e8ed3367d74c1152ff66f7cde416 (patch)
tree9db63230993ef8a54f559837dc2964473837b103 /archive.h
parent9e06d6ed7667b9564702f3bcda954748cb8afe0e (diff)
downloadgit-f3e743a0d972e8ed3367d74c1152ff66f7cde416.tar.gz
archive: convert to use parse_pathspec
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/archive.h b/archive.h
index 895afcdc7a..4a791e1fed 100644
--- a/archive.h
+++ b/archive.h
@@ -1,6 +1,8 @@
#ifndef ARCHIVE_H
#define ARCHIVE_H
+#include "pathspec.h"
+
struct archiver_args {
const char *base;
size_t baselen;
@@ -8,7 +10,7 @@ struct archiver_args {
const unsigned char *commit_sha1;
const struct commit *commit;
time_t time;
- const char **pathspec;
+ struct pathspec pathspec;
unsigned int verbose : 1;
unsigned int worktree_attributes : 1;
unsigned int convert : 1;