Magit Todos Versions Save

Show source files' TODOs (and FIXMEs, etc) in Magit status buffer

1.7.1

3 months ago

Fixes

  • Don't run branch scanner on a branch without a merge base relative to the main branch. (#153. Thanks to Yukari Hafner for reporting.)
  • Keymap parent in status buffer's to-do section. (#143. Thanks to Matthias Paulmier.)

1.7

8 months ago

Changed

  • Improve behavior when scanner backend exits with an error. (Now an error is signaled and the command's output is shown.)
  • Option magit-todos-branch-list-merge-base-ref defaults to nil, which automatically detects the default branch name using function magit-main-branch. (#151. Thanks to Aaron Zeng for reporting.)

Fixed

  • Updated find|grep scanner for newer versions of GNU find that interpret some arguments differently. (Tested on v4.8.0.)
  • Prevent leading ./ in filenames when used with rg scanner. (#148. Thanks to Michal Sojka for reporting.)

1.6

1 year ago
  • Emacs 26.1 or later is now required.

Added

  • Option magit-todos-submodule-list controls whether to-dos in submodules are displayed (default: off). (Thanks to Matsievskiy S.V.)
  • Option magit-todos-insert-after, which replaces magit-todos-insert-at. (The new option is more flexible, and it is automatically set from the old one's value.)
  • Option magit-todos-filename-filter, which can be used to shorten filenames. (Thanks to Matsievskiy S.V.)

Changed

  • Option magit-todos-exclude-globs now excludes the `.git/` directory by default. (Thanks to Amorymeltzer.)
  • Library org is no longer loaded automatically, but only when needed. (This can reduce load time, especially if the user's Org configuration is complex.) (#120. Thanks to Martin Edström and Johnny Sigman for suggesting.)

Fixed

  • Regexp overflow error for very long lines. (#131. Thanks to Laurence Warne.)
  • Option magit-todos-group-by respects buffer- and directory-local settings.
  • Insertion of blank lines between expanded sections.
  • Section insertion position at top of buffer and when chosen section doesn't exist. (#139. Thanks to Sascha Lüdecke for reporting.)

Removed

  • Option magit-todos-insert-at, replaced by magit-todos-insert-after. (The old option will be removed in v1.8; customizations of it should be removed.)

Internal

  • Define jumper keys using a Transient suffix.
  • Use new git-testing function in Magit for remote directories. (#126. Thanks to Max Hollmann.)

1.5.3

2 years ago