aboutsummaryrefslogtreecommitdiff
path: root/Documentation/RelNotes
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-09-02 23:03:45 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-09-04 19:52:21 +0200
commitb769596eeec6a0cfbc12b131c28a12d4e032f74d (patch)
tree9a05e6c43505e4f0ef78f1a371a8831b766b3f77 /Documentation/RelNotes
parent36fb7898314e5169797d78cc117c43fb4d85459c (diff)
populate diff buffers using section inserter functions
Instead of inserting the diff directly in `magit-diff-refresh-buffer', just run the new hook `magit-diff-sections-hook', which for now has just one member, the new function `magit-insert-diff'. This is mostly done for consistency with how other buffers are created.
Diffstat (limited to 'Documentation/RelNotes')
-rw-r--r--Documentation/RelNotes/2.3.0.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/RelNotes/2.3.0.txt b/Documentation/RelNotes/2.3.0.txt
index 343097a..71af7d3 100644
--- a/Documentation/RelNotes/2.3.0.txt
+++ b/Documentation/RelNotes/2.3.0.txt
@@ -39,6 +39,10 @@ THIS IS NOT COMPLETE.
are part of the default value of `magit-revision-sections-hook'.
#2216
+* The various sections in diff buffers are now inserted using new
+ section inserters named `magit-insert-diff-{*}', all of which are
+ part of the default value of `magit-diff-sections-hook'. #2216
+
* Added new option `magit-revision-headers-format' whose value is
passed to `git show --format=' to insert most of the headers,
excluding the related-refs headers. The default value now uses