From 01d8f834b49b23198aaf6ab7d503b8e918876c7a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 24 Sep 2007 07:37:30 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.5.3.2-99-ge4b2 --- git-apply.html | 12 +++++++----- git-apply.txt | 11 +++++++---- hooks.html | 13 ++++++++++++- hooks.txt | 13 +++++++++++++ 4 files changed, 39 insertions(+), 10 deletions(-) diff --git a/git-apply.html b/git-apply.html index a26adc3f7..063349350 100644 --- a/git-apply.html +++ b/git-apply.html @@ -274,7 +274,7 @@ git-apply(1) Manual Page
git-apply [--stat] [--numstat] [--summary] [--check] [--index] - [--apply] [--no-add] [--index-info] [-R | --reverse] + [--apply] [--no-add] [--build-fake-ancestor <file>] [-R | --reverse] [--allow-binary-replacement | --binary] [--reject] [-z] [-pNUM] [-CNUM] [--inaccurate-eof] [--cached] [--whitespace=<nowarn|warn|error|error-all|strip>] @@ -364,16 +364,18 @@ and a work tree.

---index-info +--build-fake-ancestor <file>

Newer git-diff output has embedded index information for each blob to help identify the original version that the patch applies to. When this flag is given, and if - the original version of the blob is available locally, - outputs information about them to the standard output. + the original versions of the blobs is available locally, + builds a temporary index containing those blobs.

+

When a pure mode change is encountered (which has no index information), +the information is read from the current index instead.

-R, --reverse @@ -597,7 +599,7 @@ subdirectory is checked and (if possible) updated.

diff --git a/git-apply.txt b/git-apply.txt index 4c7e3a2f7..c1c54bfe0 100644 --- a/git-apply.txt +++ b/git-apply.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] - [--apply] [--no-add] [--index-info] [-R | --reverse] + [--apply] [--no-add] [--build-fake-ancestor ] [-R | --reverse] [--allow-binary-replacement | --binary] [--reject] [-z] [-pNUM] [-CNUM] [--inaccurate-eof] [--cached] [--whitespace=] @@ -63,12 +63,15 @@ OPTIONS cached data, apply the patch, and store the result in the index, without using the working tree. This implies '--index'. ---index-info:: +--build-fake-ancestor :: Newer git-diff output has embedded 'index information' for each blob to help identify the original version that the patch applies to. When this flag is given, and if - the original version of the blob is available locally, - outputs information about them to the standard output. + the original versions of the blobs is available locally, + builds a temporary index containing those blobs. ++ +When a pure mode change is encountered (which has no index information), +the information is read from the current index instead. -R, --reverse:: Apply the patch in reverse. diff --git a/hooks.html b/hooks.html index 28cd7d6da..4501dcfa0 100644 --- a/hooks.html +++ b/hooks.html @@ -334,6 +334,17 @@ parameter, and is invoked after a commit is made.

This hook is meant primarily for notification, and cannot affect the outcome of git-commit.

+

post-merge

+
+

This hook is invoked by git-merge, which happens when a git pull +is done on a local repository. The hook takes a single parameter, a status +flag specifying whether or not the merge being done was a squash merge. +This hook cannot affect the outcome of git-merge.

+

This hook can be used in conjunction with a corresponding pre-commit hook to +save and restore any form of metadata associated with the working tree +(eg: permissions/ownership, ACLS, etc). See contrib/hooks/setgitperms.perl +for an example of how to do this.

+

pre-receive

This hook is invoked by git-receive-pack on the remote repository, @@ -456,7 +467,7 @@ for the user.

diff --git a/hooks.txt b/hooks.txt index c39edc57c..58b954759 100644 --- a/hooks.txt +++ b/hooks.txt @@ -87,6 +87,19 @@ parameter, and is invoked after a commit is made. This hook is meant primarily for notification, and cannot affect the outcome of `git-commit`. +post-merge +----------- + +This hook is invoked by `git-merge`, which happens when a `git pull` +is done on a local repository. The hook takes a single parameter, a status +flag specifying whether or not the merge being done was a squash merge. +This hook cannot affect the outcome of `git-merge`. + +This hook can be used in conjunction with a corresponding pre-commit hook to +save and restore any form of metadata associated with the working tree +(eg: permissions/ownership, ACLS, etc). See contrib/hooks/setgitperms.perl +for an example of how to do this. + [[pre-receive]] pre-receive ----------- -- 2.26.2