FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Add `--` before potential user provided input to make it disambiguating #1509

Closed campersau closed 2 years ago

campersau commented 2 years ago

When writing a script that is expected to handle random user-input, it is a good practice to make it explicit which arguments are which by placing disambiguating -- at appropriate places.

https://git-scm.com/docs/gitcli/2.25.0#_description

campersau commented 2 years ago

Closing in favor of #1510