Code

diff: add option to show whole functions as context
[git.git] / Documentation / diff-options.txt
index b620b3afeca14166840fb76b4cefe1e4038fb47e..1ce4ae3b17a7bca7082e499bf7edbc80359c2e79 100644 (file)
@@ -404,6 +404,10 @@ endif::git-format-patch[]
        Show the context between diff hunks, up to the specified number
        of lines, thereby fusing hunks that are close to each other.
 
+-W::
+--function-context::
+       Show whole surrounding functions of changes.
+
 ifndef::git-format-patch[]
 --exit-code::
        Make the program exit with codes similar to diff(1).