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

git-changebar: unicode BOM always shown as changed line #482

Closed
dpirch opened this issue Sep 17, 2016 · 0 comments
Closed

git-changebar: unicode BOM always shown as changed line #482

dpirch opened this issue Sep 17, 2016 · 0 comments
Assignees
Milestone

Comments

@dpirch
Copy link

dpirch commented Sep 17, 2016

If a UTF-8 file starts with a BOM character, the changebar plugin always shows the first line as changed even if there is no change.

To reproduce this, create a file with some lines of text, set encoding to UTF-8 and set "Document -> Write Unicode BOM"; save the file and git add and commit. The changebar immediately (or when reloading the file) shows the first line as changed.

Geany 1.27 on Linux (ubuntu 16.04)

@b4n b4n self-assigned this Sep 17, 2016
@b4n b4n added the bug label Sep 17, 2016
b4n added a commit to b4n/geany-plugins that referenced this issue Sep 17, 2016
@b4n b4n closed this as completed in #483 Sep 27, 2016
@b4n b4n added this to the 1.29.0 milestone Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants