Closed
Description
-
Gitea version (or commit ref): 1.6.0
-
Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
Description
When trying to create a release without target_comitish
parameter the following error occurs:
GetCommit: exit status 128 - fatal: ambiguous argument '': unknown revision or path not in the working tree.
It would be good to reject this request, instead of querying git with an empty commitish string.