]> git.eshelyaron.com Git - emacs.git/commit
VC: Fix several START-REVISION versus LIMIT issues
authorSean Whitton <spwhitton@spwhitton.name>
Sun, 29 Jun 2025 13:53:37 +0000 (14:53 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:08:40 +0000 (22:08 +0200)
commit86235ca52250c059688aff1453b99fd16927f0fc
tree59ade90a683df2f13f870442370c164b0dc31933
parent4fe4ea96668f9940b9a4acf06374c83bdbec6bb5
VC: Fix several START-REVISION versus LIMIT issues

* lisp/vc/vc-git.el (vc-git-print-log): When LIMIT and
START-REVISION are both supplied, use START-REVISION as the
newest commit, and LIMIT as a base (problem was introduced in
the commit adding 'vc-diff-mergebase' and 'vc-log-mergebase').
* lisp/vc/vc.el (vc-default-log-incoming)
(vc-default-log-outgoing): Fix order of START-REVISION and LIMIT
arguments passed to 'print-log' backend function.
(vc-log-mergebase): Fix order of START-REVISION and LIMIT
arguments passed to 'vc-print-log-internal'.

(cherry picked from commit d23b605f754d07a9abf298353d7d17197094477b)
lisp/vc/vc-git.el
lisp/vc/vc.el