diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-08 00:17:26 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-08 00:24:51 +0100 |
| commit | 8b6bb7c7e88c298e1447ca7c86138588a3953784 (patch) | |
| tree | 0c152359448bd1933c04538e412b2ca1efb0d384 /lisp/git-commit.el | |
| parent | 1d13151c27f70235a2f1a413f27c02ccab09f289 (diff) | |
git-commit.el: Require magit-process
There is a circular dependency between `magit-git' and `magit-process',
which we break by declaring some functions from the latter in the
former. This usually works out fine because loading `magit' loads both
libraries.
However, when someone only loads `git-commit', then this broke and to
fix it we have to explicitly require `magit-process' in that library
as well.
Also explicitly require `magit-git', even though that isn't strictly
necessary because `magit-mode' requires `magit-git'. Finally also
update the dependency declaration in "lisp/Makefile".
Closes #5280.
Diffstat (limited to 'lisp/git-commit.el')
| -rw-r--r-- | lisp/git-commit.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el index 54fd641..d1cbd9b 100644 --- a/lisp/git-commit.el +++ b/lisp/git-commit.el @@ -100,7 +100,9 @@ ;;; Code: +(require 'magit-git) (require 'magit-mode) +(require 'magit-process) (require 'log-edit) (require 'ring) |
