I have a repo with master branch started from scratch and HEAD pointing on arbitrary commit. I'd like to get list of all changed files from the beginning of the branch up to commit B. I could accomplish that using
git diff --name-only A..B
But unfortunately there is no commit A.
Is there a way to point on «beginning of the time» or any other command for getting list of changed files up to specific commit?