Skip to content

Conversation

@artem-y
Copy link
Owner

@artem-y artem-y commented Jan 12, 2025

In this PR:

  • allowed making the commit when the HEAD is detached or when it's an initial commit
  • for the initial commit, made sure the branch name is picked up correctly from the .git/HEAD file
  • added a new test_commit_with_detached_head e2e test for the detached HEAD case
  • removed extra step of creating initial commit for the most end-to-end tests, since it's no longer needed

@artem-y artem-y added the enhancement New feature or request label Jan 12, 2025
@artem-y artem-y self-assigned this Jan 12, 2025
@artem-y artem-y merged commit 08e2bbb into main Jan 12, 2025
1 check passed
@artem-y artem-y deleted the feat/handle-detached-head-and-initial-commit branch January 12, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants