-
-
Notifications
You must be signed in to change notification settings - Fork 39
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 could not be found. Replacing {branch} with main #281
Comments
After upgrading to version 2.7.1, my custom prompt and LLM client have been reset! |
Hi @yidasanqian, regarding the branch; the plugin tries to compute the branch name by finding the git repositories of the files that are staged for commit. If the plugin can't get any repositories for any of the files, it falls back to branch name "main". Regarding the second statement about custom prompt and LLM client being reset; what exactly do you mean by reset? Were they deleted or just unset? Are they project specific? Furthermore, from which version did you upgrade to 2.7.1? |
The first issue was resolved by restarting IDEA. |
I hadn't noticed this before, so it probably isn't due to an upgrade. |
The second issue might happen because of the upgrade. In the previous version there was a bug and the project specific settings were not saved properly. Please test this with the latest version v2.7.1 and report back if it happens again. Regarding the issue with emojis; I'll have to test it and see. |
Same for me with 2.9.0. |
Hey @antonio-petricca, can you please explain what exactly do you mean? The comments in this issue mention different issues. If it's regarding the branch notification, please check that you have a git repository and files staged for commit. |
Hi, sorry, the issue about the not found branch. Thank you for your great plugin. |
Replace getRepositoryForFileQuick with getRepositoryForFile which is supposed to be more reliable. Refs: #281
Click the button: "AI Commit", and it keeps prompting as follows.
current branch is dev
version:2.7.1
why?
The text was updated successfully, but these errors were encountered: