aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-02-03 00:07:00 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-02-03 00:07:00 +0100
commitbb11a56df421607bb52e54af6dd6801e03e4cdaf (patch)
tree7579a448bf467d560ae76ea984804280c1d9b124 /CHANGELOG
parent0f46706cbd2434cbda98e6e9fa6491942abe4289 (diff)
magit-{diff,log}{,-refresh}: Pick up all buffer arguments
When the value of a diff or log menu was being initialized from the arguments in the current buffer and the diff/log was already limited to a set of files, then all other arguments were discarded. The value of the prefix's `value' slot is a flat list of arguments and in that list the "--" argument is represented as a list beginning with "--", followed by the files. This is different from `magit-{diff,log}-arguments', which returns (ARGS FILES), which is probably how this bug came to be (but note that the order is also different and that FILES is just a list of files, without a "--" at its head. Closes #5304.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3526ff7..e4a3a3e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -84,6 +84,10 @@ Bug fixes:
exists in Emacs since 29.1, so this will only help users stuck
on Emacs 28. #5300
+- When the value of a diff or log menu was being initialized from the
+ arguments in the current buffer and the diff/log was already limited
+ to a set of files, then all other arguments were discarded. #5304
+
* v4.2.0 2025-01-01
- At least Git 2.25.0 is required now. 033a0c0cdc