Please describe the problem.
There is no way to specify the commit message used by the pull command.
What steps will reproduce the problem?
When pulling from a special remote with importtree=yes to get new/modified files, git-annex generates the commit message. It is desired to specify the commit message to describe the content being pulled.
What version of git-annex are you using? On what operating system?
10.20231130-g0e9bc415882a5e3a285e004cf9f80936e5762a07 Linux
Please provide any additional information below.
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
This would need to start with
git-annex import --from=remote
getting a--message
option. Which I've just implemented.As for adding an option to
git-annex pull
, it would need to be an option other than--message
, becausegit-annex sync
already uses--message
for the commit message. And sincegit-annex pull
can pull from more than one remote at a time, it seems that it would need an option that specifies a message plus which remote to use that message for. Or the option would need to only be used when usinggit-annex pull
with a single specified remote.That seems like perhaps unncessary complexity, since if you want to import a tree from a remote and specify a message, you can just use
git-annex import
with--message
now. And then you can rungit-annex pull
to proceed with the rest of what it does.Good enough?