support for git diff, and later git merge
I have started to store my jazz lead sheets in a git repository. I want to use this to collaborate with my friend in writing new and improving old existing scores. For this to work well, I need to be able to see the changes made on a file in a new commit.
I want to use "git difftool" to do this, and configure git to use musescore as the difftool. From the git perspective that would be quite easy I think. I could add something like this to the git configuration file:
[diff] tool = musescore [difftool "musescore"] cmd = MuseScore --diff $LOCAL $REMOTE
And since MuseScore suports showing the difference between two versions of the score that seems feasible But currently "--diff" on the command line cannot be used in this way.
I found this old request
But this is more about integrating git into MuseScore. What I propose is the reverse, to integrate MuseScore into git.
If this works out and is useful for others as well, there might a case for also supporting "merge", something like
MuseScore --merge $LOCAL $REMOTE $BASE $MERGED
where $BASE is the common ancestor, and $MERGED is the resulting merged file.