Files
doomemacs/modules/tools/magit
Henrik Lissner 79a8abd85a bump: :tools
Silex/docker.el@813c00410b -> Silex/docker.el@46b597a711
editorconfig/editorconfig-emacs@24f5b2b1cd -> editorconfig/editorconfig-emacs@1a9942746c
emacs-ansible/emacs-ansible@03e285bb54 -> emacs-ansible/emacs-ansible@4601ff31f5
emacs-citar/citar@2826996799 -> emacs-citar/citar@ce5e9644ed
emacs-lsp/dap-mode@ffb7957612 -> emacs-lsp/dap-mode@09dc16bae1
emacs-lsp/lsp-mode@d28dd6b7e3 -> emacs-lsp/lsp-mode@b383e637dc
emacs-lsp/lsp-ui@f0edfac7b3 -> emacs-lsp/lsp-ui@00e69463b4
emacs-straight/eglot@d3e44d33b7 -> emacs-straight/eglot@2d5d494bfc
emacs-tree-sitter/elisp-tree-sitter@fe98d0cae7 -> emacs-tree-sitter/elisp-tree-sitter@f3b6e78cd4
emacs-tree-sitter/tree-sitter-langs@4f951dbb53 -> emacs-tree-sitter/tree-sitter-langs@2ff446b4b8
emacsorphanage/quickrun@d383929c50 -> emacsorphanage/quickrun@7345432cea
gagbo/consult-lsp@6858391316 -> gagbo/consult-lsp@aef321d039
hpdeifel/synosaurus@14d34fc92a -> hpdeifel/synosaurus@690755ce88
jacktasia/dumb-jump@cd65a74337 -> jacktasia/dumb-jump@93665381d9
joostkremers/parsebib@f0e57a3606 -> joostkremers/parsebib@a25621930e
magit/forge@0c90606262 -> magit/forge@33e240d360
magit/magit@7dfebba55b -> magit/magit@f52dfada8f
mohkale/consult-eglot@9b490eb384 -> mohkale/consult-eglot@b71499f4b9
nicolaisingh/saveplace-pdf-view@70e9ec4056 -> nicolaisingh/saveplace-pdf-view@79e76562bc
purcell/envrc@60f5091538 -> purcell/envrc@2b818ca6e4
rejeep/prodigy.el@c5a17c280d -> rejeep/prodigy.el@99908d13be
tkf/emacs-request@01e338c335 -> tkf/emacs-request@c22e3c23a6
tumashu/posframe@8165153682 -> tumashu/posframe@12f540c9ad
2025-02-21 15:17:42 -05:00
..
2024-09-14 20:47:39 -04:00
2025-02-21 15:17:42 -05:00

:tools magit

Description   unfold

This module provides Magit, an interface to the Git version control system.

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.

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:

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-reviewauth-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?