Closed MovieStoreGuy closed 1 year ago
I've set up sbot to use mode = 'git-branch', however, I keep running up against this error:
mode = 'git-branch'
Error: failed to detect mode from git branch name "Could not get sha1 for HEAD^2. Skipping. " with delimiters "/"
I thought it may have been an issue with shell, so I had tried the actual command locally:
bash -c 'git name-rev --name-only --refs=refs/head/* --refs=refs/remotes/* HEAD^2'
That returns the same error, switching the command to:
bash -c 'git name-rev --name-only --refs=refs/head/* --refs=refs/remotes/* HEAD~2'
returns a branch name :success:
@MovieStoreGuy Is this issue still relevant? Is there a reason you closed it?
I had closed this out because I noticed that my project was doing squash commits so checking for the merge commit wasn't possible.
Description
I've set up sbot to use
mode = 'git-branch'
, however, I keep running up against this error:I thought it may have been an issue with shell, so I had tried the actual command locally:
That returns the same error, switching the command to:
returns a branch name :success: