Magit-annex NEWS – history of user-visible changes -*- mode: org; -*-
Magit-annex has been updated for the latest version of Magit and now requires version 4.0.0 or later.
Magit-annex has been updated for the latest version of Magit and now requires version 3.0.0 or later.
- To be compatible with the latest Magit, popups have been rewritten
as transient commands.
A few key bindings for options now start with
-
rather than=
because, unlike magit-popup.el, transient.el doesn’t require that options start with=
. You can restore the previous bindings with(transient-suffix-put 'magit-annex-sync "-j" :key "=j") (transient-suffix-put 'magit-annex-file-action "-j" :key "=j") (transient-suffix-put 'magit-annex-file-action "-n" :key "=n") (transient-suffix-put 'magit-annex-unused "-r" :key "=r")
magit-annex-unused-log
now immediately displays the log instead of opening the log popup and is bound toC-c C-l
inmagit-annex-unused-mode-map
rather than shadowing the default binding ofmagit-log
.
Magit-annex has been updated for the latest version of Magit and now requires version 2.90.0 or later.
- File action commands now support Dired buffers. The file at point
(or marked files) is used as the default for completion.
Consider binding
magit-annex-file-action-popup
to a key in Dired buffers. If you are using git-annex.el, you can bind the popup to@f
like this:(define-key git-annex-dired-map "f" #'magit-annex-file-action-popup)
- In
magit-annex-list-mode
buffers, file action commands now consider files selected by the region when choosing a default for completion. git annex undo
is now exposed viamagit-annex-undo-files
, a new command available inmagit-annex-file-action-popup
.
magit-annex-list-popup
now invokes the popup rather than the default action when called without a prefix.You can restore the previous behavior with
(setq magit-annex-list-popup (plist-put magit-annex-list-popup :use-prefix 'popup))
Magit-annex has been updated for the latest version of Magit and now requires version 2.12.0 or later.
Magit-annex has been updated for the latest version of Magit and now requires version 2.11.0 or later.
- Starting with Magit 2.11.0, the commands
magit-git-command
andmagit-git-command-topdir
add “git ” to the initial input rather than prepending it to the input after it is read. This change enables arbitrary shell commands to be executed. Similarly, the commandsmagit-annex-command
andmagit-annex-command-topdir
now set the initial input to “git annex “.
- The option
magit-annex-standard-options
has been renamed tomagit-annex-global-arguments
and marked as obsolete.
- The
--no-commit
switch and--jobs
option have been added tomagit-annex-sync-popup
.
- The prompt for file actions now supports wildcards.
- The command
magit-annex-unused
now supports arguments through the new popupmagit-annex-unused-popup
. A new commandmagit-annex-unused-reflog
has also been added to the popup.magit-annex-unused-popup
has replacedmagit-annex-unused-popup
in the top-level Magit-annex popup. - The command
magit-annex-list-files
now supports the--allrepos
flag through the new popupmagit-annex-list-popup
. By default,@l
callsmagit-annex-list-files
directly, but a prefix argument invokes the popup. - New command
magit-annex-list-dir-files
has been added as an action inmagit-annex-list-popup
. This functionality was previously available when a prefix argument was given tomagit-annex-list-files
.
- The command
magit-annex-unused-log
has been replaced bymagit-annex-unused-log-popup
, a command which callsmagit-log-popup
but sets the-S
flag to the key of the unused file at point. The new optionmagit-annex-unused-stat-argument
controls whether the flag--stat
is also added. magit-annex-unused-sections-hook
has been removed.
- Commands that prompt for a file have been updated to accept multiple files. The popup for acting on every file as be replaced with an entry the multiple-file prompt.
- New option magit-annex-confirm-all-files controls whether or not empty input in the file prompt, which means to act on all files, has to be confirmed by the user.
- New option magit-annex-include-directories determines whether directories are listed in the file prompt.
Magit-annex has been updated for the latest version of Magit and now requires version 2.3.0 or later.
- New mode
magit-annex-unused-mode
provides an interface for browsing and managing unused files. - New mode
magit-annex-list-mode
displays the output ofgit annex list
.
- The annex pushing menu has been removed. The ‘git-annex’ branch can be pushed using main pushing menu in Magit 2.1.0, which makes it easy to push branches without checking them out.
- magit-annex has been updated for Magit version 2.1.0.
- Use popup menu for annex commands. Annex push and merge commands are now under this menu.
- Add single-file content commands (copy, move, get, drop, unlock, lock). File choices are limited based on state of local repo.
- Add content commands for all files.
- Add ability to input git annex subcommands.
- Add ability to sync with specific remote.
- Hook up popup help with git annex manual.
- Add
git annex merge
. - Add
git annex sync
. - Add command to push git-annex branch (either along with the current branch or separately).