Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BRANCH_UNKNOWN in commit message when repository have submodules #740

Open
Discoverivan opened this issue Oct 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Discoverivan
Copy link

What happened?

When generating a commit description in a Git repository with submodules, the placeholder {BRANCH_NAME} is incorrectly replaced with "BRANCH_UNKNOWN." This issue occurs even when there are staging changes from only one submodule. The expected behavior is for the plugin to populate {BRANCH_NAME} with the full name(s) of the branch(es) affected by the staged changes.

Plugin Version: 2.11.7-241.1
IDEA Version: 2024.2.3

Relevant log output or stack trace

No response

Steps to reproduce

Open project with git repository with submodules, change anything and then try to generate commit message.

CodeGPT version

2.11.7-241.1

Operating System

macOS

@Discoverivan Discoverivan added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant