DroidsOnRoids / bitrise_step_build_info_jira_comment

MIT License
3 stars 7 forks source link

fatal: ..: '..' is outside repository #6

Closed jmonroe closed 1 year ago

jmonroe commented 1 year ago

When using this step I began getting failures recently with the following error

fatal: ..: '..' is outside repository at '/Users/vagrant/git'

Nothing has changed in our configuration or message. I have confirmed that the necessary parameters are all correct. I'm not sure if this is due to a change in how bitrise is executing the script, but wanted to report.

koral-- commented 1 year ago

With the amount of information you provided now I can do nothing. Share a reproducer project.

jmonroe commented 11 months ago

Following up on my own issue since a co-worker ran into it on their project and found this issue. The solution was to update bitrise to use a clone depth of -1 to cause it to do a deep checkout.

koral-- commented 11 months ago

OK, now it is clear. git log invocation returned an empty string. There's a similar issue here: #7 I'll consider checking the git history upfront and printing some more user-friendly message.