I often find myself wanting to open all the files that were changed in a certain commit. My current solution is this, in an alias:
$EDITOR $(git diff --name-only --relative <commit names>) Which works pretty well, but when I am in a subdirectory, then it doesn't open any files that were changed outside of that directory, because git diff --name-only --relative only outputs files changed in the current directory, not the whole repo. Is there a flag I can pass to git diff to make it include all changed files in the repo, even with --relative?