Skip to content

Commit 7a876ed

Browse files
committed
Merge branch 'maint-1.7.1' into maint-1.7.2
* maint-1.7.1: Documentation/githooks: post-rewrite-copy-notes never existed Documentation/git-archive: spell --worktree-attributes correctly
2 parents b91779f + 567323d commit 7a876ed

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
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

Documentation/githooks.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,6 @@ rebase::
350350
The commits are guaranteed to be listed in the order that they were
351351
processed by rebase.
352352

353-
There is no default 'post-rewrite' hook, but see the
354-
`post-receive-copy-notes` script in `contrib/hooks` for an example
355-
that copies your git-notes to the rewritten commits.
356-
357353

358354
GIT
359355
---

0 commit comments

Comments
 (0)