aboutsummaryrefslogtreecommitdiff
path: root/docs/magit.org
diff options
context:
space:
mode:
Diffstat (limited to 'docs/magit.org')
-rw-r--r--docs/magit.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/magit.org b/docs/magit.org
index 4441ca1..23d5373 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -3476,6 +3476,14 @@ that they are available here too.
allowed here: ~--stat-width~, ~--stat-name-width~,
~--stat-graph-width~ and ~--compact-summary~. Also see [[man:git-diff]]
+- User Option: magit-format-file-function ::
+
+ This function is used to format lines representing a file. It is
+ used for file headings in diffs, in diffstats and for lists of files
+ (such as the untracked files). Depending on the caller, it receives
+ either three or five arguments; the signature has to be ~(kind file
+ face &optional status orig)~. KIND is one of ~diff~, ~stat~ and ~list~.
+
*** Revision Buffer
- User Option: magit-revision-insert-related-refs ::