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-lognow immediately displays the log instead of opening the log popup and is bound toC-c C-linmagit-annex-unused-mode-maprather 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-popupto a key in Dired buffers. If you are using git-annex.el, you can bind the popup to@flike this:(define-key git-annex-dired-map "f" #'magit-annex-file-action-popup)
- In
magit-annex-list-modebuffers, file action commands now consider files selected by the region when choosing a default for completion. git annex undois now exposed viamagit-annex-undo-files, a new command available inmagit-annex-file-action-popup.
magit-annex-list-popupnow 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-commandandmagit-git-command-topdiradd “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-commandandmagit-annex-command-topdirnow set the initial input to “git annex “.
- The option
magit-annex-standard-optionshas been renamed tomagit-annex-global-argumentsand marked as obsolete.
- The
--no-commitswitch and--jobsoption have been added tomagit-annex-sync-popup.
- The prompt for file actions now supports wildcards.
- The command
magit-annex-unusednow supports arguments through the new popupmagit-annex-unused-popup. A new commandmagit-annex-unused-refloghas also been added to the popup.magit-annex-unused-popuphas replacedmagit-annex-unused-popupin the top-level Magit-annex popup. - The command
magit-annex-list-filesnow supports the--allreposflag through the new popupmagit-annex-list-popup. By default,@lcallsmagit-annex-list-filesdirectly, but a prefix argument invokes the popup. - New command
magit-annex-list-dir-fileshas 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-loghas been replaced bymagit-annex-unused-log-popup, a command which callsmagit-log-popupbut sets the-Sflag to the key of the unused file at point. The new optionmagit-annex-unused-stat-argumentcontrols whether the flag--statis also added. magit-annex-unused-sections-hookhas 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-modeprovides an interface for browsing and managing unused files. - New mode
magit-annex-list-modedisplays 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).