diff options
author | Jeff King <peff@github.com> | 2011-06-21 23:17:35 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-22 11:12:35 -0700 |
commit | 7b97730b764cac823531ccd14669f9c5b45496dc (patch) | |
tree | 87374df5dba2d033843fe9ccfcec6ccf10d14c38 /Documentation | |
parent | 0e804e09938905ed4fe6984f832057267cc5d86f (diff) | |
download | git-7b97730b764cac823531ccd14669f9c5b45496dc.tar.gz git-7b97730b764cac823531ccd14669f9c5b45496dc.tar.xz |
upload-archive: allow user to turn off filters
Some tar filters may be very expensive to run, so sites do
not want to expose them via upload-archive. This patch lets
users configure tar.<filter>.remote to turn them off.
By default, gzip filters are left on, as they are about as
expensive as creating zip archives.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-archive.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 8b0080a97..1320c873a 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -114,6 +114,12 @@ tar.<format>.command:: The "tar.gz" and "tgz" formats are defined automatically and default to `gzip -cn`. You may override them with custom commands. +tar.<format>.remote:: + If true, enable `<format>` for use by remote clients via + linkgit:git-upload-archive[1]. Defaults to false for + user-defined formats, but true for the "tar.gz" and "tgz" + formats. + ATTRIBUTES ---------- |