andras-simonyi/citeproc-el@44f90cb296 -> andras-simonyi/citeproc-el@cfa30b6c95 editorconfig/editorconfig-emacs@d73b6392de -> editorconfig/editorconfig-emacs@1651294334 emacs-citar/citar@885b86f673 -> emacs-citar/citar@07d2a63c99 emacs-lsp/dap-mode@11431a26bc -> emacs-lsp/dap-mode@b407773ebc emacs-lsp/lsp-mode@acad044ebc -> emacs-lsp/lsp-mode@cec9e56390 emacs-straight/crdt@4a18cd8539 -> emacs-straight/crdt@9bf99e2ce3 emacs-straight/eglot@e7e49c789c -> emacs-straight/eglot@850cbd0430 emacs-straight/rainbow-mode@70ed10d410 -> emacs-straight/rainbow-mode@0740f31f30 emacs-tree-sitter/elisp-tree-sitter@02fe7b86d9 -> emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9 emacsorphanage/quickrun@373634cf51 -> emacsorphanage/quickrun@c58e2e4be5 jacktasia/dumb-jump@ede6a04187 -> jacktasia/dumb-jump@3c2ab8dfff k1LoW/emacs-ansible@1d7de8d3dd -> k1LoW/emacs-ansible@b4dca00f89 magit/forge@c3675fd068 -> magit/forge@4adb94d23c magit/magit@f9268a9598 -> magit/magit@ea0f07e549 purcell/envrc@8eb7401700 -> purcell/envrc@2316e004c1 vedang/pdf-tools@a1048bceb2 -> vedang/pdf-tools@30b50544e5
: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
.
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
- doom-package:magit-todos
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?