reset: support the `--pathspec-from-file` option