Conflict during merge, lost last line of code after resolving conflict
Describe the bug Conflict during merge, lost last line of code after resolving conflict
To Reproduce
- merge code
- resolving conflict
Screenshots
Version info:
lazygit --version
commit=3675570a391b1a49ddd198b4c7e71e17701d4404, build date=2024-03-23T09:09:11Z, build source=binaryRelease, version=0.41.0, os=linux, arch=amd64, git version=2.33.1
git --version
git version 2.33.1
uname -a
Linux my 6.1.32-amd64-desktop-hwe #23.01.00.20 SMP PREEMPT_DYNAMIC Thu Jan 11 18:45:10 CST 2024 x86_64 GNU/Linux
same here
+1
+1
+1
+1
As far as I can see, this happens whenever the file in question doesn't end with a line feed.
Here's a fix for that: #3976