aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-09-02 16:45:18 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-09-02 16:45:18 +0200
commitce2f4f90d1267ccf87197dce45d357919103c8d3 (patch)
tree7afa2c754a94cb26f04ea95f0acfc8a94bd71336 /Documentation
parente02359fc4a9bbfc911b317ea7a3597294d1a9cc5 (diff)
call magit-mode-get-buffer with nil as FORMAT
`magit-mode-get-buffer' can derive the name of the variable whose value is the buffer-name format string to be used based on the MODE argument. Some callers already make use of this and pass nil as FORMAT, but many others did not do so until now. Deriving the name of the variable from the name of the mode is fairly cheap so it is okay to do so, especially because nor specifying the format variable explicitly makes many callers cleaner. However we cannot completely remove the FORMAT argument for backward (and possibly forward) compatibility reasons.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/RelNotes/2.2.2.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/RelNotes/2.2.2.txt b/Documentation/RelNotes/2.2.2.txt
index b72ac42..0bb94ed 100644
--- a/Documentation/RelNotes/2.2.2.txt
+++ b/Documentation/RelNotes/2.2.2.txt
@@ -37,4 +37,5 @@ This is a bugfix release.
* `magit-wip-log' did not display a log if the working tree or index
ref did not exist.
-This release also contains various documentation fixes.
+This release also contains various documentation fixes and code
+clean-ups.