doomemacs/modules/tools/magit
2020-10-11 16:21:05 -04:00
..
autoload.el Respect magit-display-buffer-noselect 2020-10-10 19:50:10 +02:00
config.el
packages.el Bump :tools 2020-10-11 16:21:05 -04:00
README.org

tools/magit

Description

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

If you are new to Magit, see the Getting Started section of its project readme.

Maintainers

This module has no dedicated maintainers.

Module Flags

  • +forge Enable Forge; a porcelain for managing issues and PRs from within Emacs. Will take a while on first run to build emacsql-sqlite.

Plugins

Hacks

  • 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).
  • magit has been modified to recognize $XDG_CACHE_HOME/git/credential/socket.
  • magit has been modified to invalidate the projectile cache when you check out a new branch or commit.
  • magit has been modified to revert repo buffers (e.g. after changing branches) when you later switch to them, rather than all at once.

Prerequisites

This module requires git.

Forge will require a Github API token the first time you run forge-pull.

TODO Features

Configuration

Add these to $DOOMDIR/config.el.

Enable Gravatars

This will enable gravatars when viewing commits. The service used by default is Libravatar.

(setq magit-revision-show-gravatars '("^Author:     " . "^Commit:     "))

TODO Troubleshooting