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

[Bug]: editing last line results in commit message inaccurate about the change #427

Open
kaovilai opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kaovilai
Copy link

kaovilai commented Nov 6, 2024

Opencommit Version

3.2.2

Node Version

N/A

NPM Version

N/A

What OS are you seeing the problem on?

Mac

What happened?

See commit message and diff kaovilai/dotfiles@223f940

Expected Behavior

Diff is about

alias restart-displaylink='osascript -e "quit app \"DisplayLink Manager\""; while pgrep DisplayLinkUserAgent > /dev/null; do sleep 0.1; done; open -a DisplayLink\ Manager'

Current Behavior

Diff is about

alias velero-makecontainer-velero-restore-helper-cluster-arch='make container IMAGE=$(ghcr_notag) VERSION=velero-restore-helper-$(current-branch)-$(rev-sha-short)-$(cluster-arch-only) && docker push $(ghcr_notag):velero-restore-helper-$(current-branch)-$(rev-sha-short)-$(cluster-arch-only) && echo $(ghcr_notag):velero-restore-helper-$(current-branch)-$(rev-sha-short)-$(cluster-arch-only)'

Possible Solution

maybe if last line change is detected have the model (or another pre-processing) ignore second last line.

Steps to Reproduce

No response

Relevant log output

No response

@kaovilai kaovilai added the bug Something isn't working label Nov 6, 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