Skip to content

Commit 2b3e60c

Browse files
jo-sogitster
authored andcommitted
post-merge: Add it's not executed if merge failed.
Signed-off-by: J��rg Sommer <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent da060c6 commit 2b3e60c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/hooks.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ post-merge
137137
This hook is invoked by `git-merge`, which happens when a `git pull`
138138
is done on a local repository. The hook takes a single parameter, a status
139139
flag specifying whether or not the merge being done was a squash merge.
140-
This hook cannot affect the outcome of `git-merge`.
140+
This hook cannot affect the outcome of `git-merge` and is not executed,
141+
if the merge failed due to conflicts.
141142

142143
This hook can be used in conjunction with a corresponding pre-commit hook to
143144
save and restore any form of metadata associated with the working tree

0 commit comments

Comments
 (0)