diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-04-18 00:18:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-17 21:05:49 -0700 |
commit | ba053ea96c252e04729dcd439e3c35d394d69914 (patch) | |
tree | 308bd6c8e28bdab62ddb58fd0013af9a489027c1 /Documentation/git-archive.txt | |
parent | 66985e6629c4325ec6b1508bf4bda907c2a538cb (diff) | |
download | git-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 'Documentation/git-archive.txt')
-rw-r--r-- | Documentation/git-archive.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index c1adf59497..bc132c87e1 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git archive' --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>] - [--output=<file>] + [--output=<file>] [--worktree-attributes] [--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish> [path...] @@ -51,6 +51,9 @@ OPTIONS --output=<file>:: Write the archive to <file> instead of stdout. +--worktree-attributes:: + Look for attributes in .gitattributes in working directory too. + <extra>:: This can be any options that the archiver backend understands. See next section. |