LucasLarson/gunstage

calling `gunstage` from outside a repository returns a success exit code

LucasLarson opened this issue · 1 comments

Calling gunstage currently shows a help message when called from outside a git repository. It should also return a failing exit code; git itself returns 128 in such situations.

closing:

unable to recreate this issue; gunstage called from outside a repository already returns git’s 128:

return "${return_value}"