Closed xeruf closed 2 years ago
It is trivial to implement this by enhancing the yadm version
command, but this type of feature can easily be implemented as a hook as well.
In this specific case you can add a file called post_version
in the .config/yadm/hooks
folder containing a simple script like:
#!/bin/sh
git --version
So that, once the script has been made executable (chmod +x post_version
), the yadm version
command returns
➜ ~ yadm version
yadm 3.1.1
git version 2.30.1 (Apple Git-130)
Sure, but it would be good to have it as default to ease the process of issue reporting
This has been updated in the develop
branch, and will be included in the next release.
Is your feature request related to a problem? Please describe.
For bug reports and stuff, you gotta list both versions, so why not make it more convenient.
Describe the solution you'd like