NicolasPetton/pass@896696999d -> NicolasPetton/pass@7651389c52 Silex/docker.el@464105ed8b -> Silex/docker.el@91233a7c55 andras-simonyi/citeproc-el@d232616851 -> andras-simonyi/citeproc-el@f36650536b editorconfig/editorconfig-emacs@d2beb3ec2e -> editorconfig/editorconfig-emacs@f85ec9724b emacs-ansible/emacs-ansible@8474bd186b -> emacs-ansible/emacs-ansible@7385222a4f emacs-lsp/lsp-mode@3a96df0dd7 -> emacs-lsp/lsp-mode@65a414ddeb emacs-lsp/lsp-ui@a0dde8b52b -> emacs-lsp/lsp-ui@bbb1aa0192 emacs-straight/dape@1df7834306 -> emacs-straight/dape@411e4b6126 emacs-straight/eglot@6a9e0c76b9 -> emacs-straight/eglot@a8cb16b833 emacs-tree-sitter/elisp-tree-sitter@1c455b0953 -> emacs-tree-sitter/elisp-tree-sitter@caeb32e8a7 emacs-tree-sitter/tree-sitter-langs@59979a1f5c -> emacs-tree-sitter/tree-sitter-langs@9b7e508435 flycheck/flycheck-eglot@18d0c98695 -> flycheck/flycheck-eglot@0d7f0afc9b karthink/gptel@0a77446108 -> karthink/gptel@af821efe63 magit/magit@2f1ff91f12 (4.3.6) -> magit/magit@5b820a1d1e (4.3.8) magit/transient@f3f498aa15 (0.9.2) -> magit/transient@aa32e0d66c (0.9.4) meain/evil-textobj-tree-sitter@bce236e5d2 -> meain/evil-textobj-tree-sitter@4ca5dffbd3 nicolaisingh/saveplace-pdf-view@79e76562bc -> nicolaisingh/saveplace-pdf-view@dc1e0b28a5 purcell/envrc@cb5f6d2a42 -> purcell/envrc@510807ae96 zx2c4/password-store@b5e965a838 -> zx2c4/password-store@3ca13cd888 Close: #8453
:tools magit
Description unfold
This module provides Magit, an interface to the Git version control system.
Maintainers
Module flags
- +forge
-
Enable Forge; a porcelain for managing Github issues and PRs from within
Emacs. Will take a while on first run to build
emacsql-sqlite
. Requires Emacs 29.1 or newer.
Packages
- doom-package:evil-magit if doom-module::editor evil +everywhere
- doom-package:forge if doom-module:+forge
- doom-package:code-review if doom-module:+forge
- doom-package:magit
Hacks
- doom-package:magit has been modified to recognize
$XDG_CACHE_HOME/git/credential/socket
. - doom-package:magit has been modified to invalidate the projectile cache when you check out a new branch or commit.
- doom-package:magit has been modified to revert repo buffers (e.g. after changing branches) when you later switch to them, rather than all at once.
- doom-package:forge was modified to defer compilation of emacsql-sqlite until you try to use forge, rather than when magit first loads (which could be as soon as startup).
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module requires:
- Git
- doom-module:+forge requires a Github API token
- doom-package:code-review will also require a token setup (see configuration for your particular forge)
TODO Usage
This module's usage documentation is incomplete. Complete it?
Start magit with <leader> g g (M-x magit-status
).
If you are new to Magit, see the Getting Started section of its project readme.
TODO Configuration
This module's configuration documentation is incomplete. Complete it?
Enable Gravatars
To enable gravatars when viewing commits:
;; in $DOOMDIR/config.el
(after! magit
(setq magit-revision-show-gravatars '("^Author: " . "^Commit: ")))
Enable granular diff-highlights for all hunks
By default, changes are highlighted linewise for all but the selected hunk. This is so for performance reasons. You can enable character-wise highlights for all visible hunks with:
;; in $DOOMDIR/config.el
(after! magit
(setq magit-diff-refine-hunk 'all))
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
"I recently updated and now I get 'deferred error : (wrong-type-argument sequencep code-review–auth-token-set\?)' whenever I try to review'"
The previous package "github-review" was replaced with a package that supercedes it called "code-review", which requires a simple change in your authinfo file.
machine api.github.com login yourlogin^github-review password MYTOKENGOESHERE
becomes
machine api.github.com login yourlogin^code-review password MYTOKENGOESHERE
TODO Appendix
This module has no appendix yet. Write one?