summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-04-18 00:18:05 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-17 21:05:49 -0700
commitba053ea96c252e04729dcd439e3c35d394d69914 (patch)
tree308bd6c8e28bdab62ddb58fd0013af9a489027c1 /archive.h
parent66985e6629c4325ec6b1508bf4bda907c2a538cb (diff)
downloadgit-ba053ea96c252e04729dcd439e3c35d394d69914.tar.gz
archive: do not read .gitattributes in working directory
The old behaviour still remains with --worktree-attributes, and it is always on for the legacy "git tar-tree". 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/archive.h b/archive.h
index 0b15b35143..038ac353d4 100644
--- a/archive.h
+++ b/archive.h
@@ -10,6 +10,7 @@ struct archiver_args {
time_t time;
const char **pathspec;
unsigned int verbose : 1;
+ unsigned int worktree_attributes : 1;
int compression_level;
};