summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2008-06-08 18:42:33 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-09 14:53:46 -0700
commit008d896df5deaa967d4d86306b408333e8ef34c3 (patch)
treec2b7aeaa45767e1c4e6359381b2bd99bd77dbebc /archive.h
parent457bb452919887ff5e8007d02e93f443fdb6f1e9 (diff)
downloadgit-008d896df5deaa967d4d86306b408333e8ef34c3.tar.gz
Teach new attribute 'export-ignore' to git-archive
Paths marked with this attribute are not output to git-archive output. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/archive.h b/archive.h
index 5791e657e9..ddf004acdf 100644
--- a/archive.h
+++ b/archive.h
@@ -44,5 +44,6 @@ extern int write_zip_archive(struct archiver_args *);
extern void *parse_extra_zip_args(int argc, const char **argv);
extern void *sha1_file_to_archive(const char *path, const unsigned char *sha1, unsigned int mode, enum object_type *type, unsigned long *size, const struct commit *commit);
+extern int is_archive_path_ignored(const char *path);
#endif /* ARCHIVE_H */