Skip to content

Commit fc7642a

Browse files
trastgitster
authored andcommitted
Documentation/git-archive: spell --worktree-attributes correctly
The --worktree-attributes option was correctly documented in ba053ea (archive: do not read .gitattributes in working directory, 2009-04-18). However, later in 9b4c8b0 (archive documentation: attributes are taken from the tree by default, 2010-02-10) the misspelling "--work-tree-attributes" was used to refer to it. Fix this. Noticed-by: Jeffrey Phillips Freeman <[email protected]> Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cb198b3 commit fc7642a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-archive.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Note that attributes are by default taken from the `.gitattributes` files
116116
in the tree that is being archived. If you want to tweak the way the
117117
output is generated after the fact (e.g. you committed without adding an
118118
appropriate export-ignore in its `.gitattributes`), adjust the checked out
119-
`.gitattributes` file as necessary and use `--work-tree-attributes`
119+
`.gitattributes` file as necessary and use `--worktree-attributes`
120120
option. Alternatively you can keep necessary attributes that should apply
121121
while archiving any tree in your `$GIT_DIR/info/attributes` file.
122122

0 commit comments

Comments
 (0)