Fix positional argument error when file starts with `-`
Contributes to gitlab#393553 (closed)
Problem
We provide file path in Args list, but it does not support files that start with dash at the beginning.
git ls-tree HEAD -test
error: unknown switch `e'
Solution
Provide path in PostSepArgs list.
git ls-tree HEAD -- -test
This command supports files that start with dash.