Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- For Coveo Employees only. Fill this section. CDX-1184 --> ## Proposed changes When doing rebases with rewrite actions, commit-msg is a pain because he doesn't find HEAD with the current command and crash, breaking the rebase To solves this, I swapped the command with a similar one found on the Internet (SWE101) It returns `HEAD` when in a detached HEAD It returns `refs/heads/branch-name` otherwise.
- Loading branch information