git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git is not recognizing some merge conflicts and just accepting incoming master version
@ 2024-03-14 10:30 Kai
  2024-03-15  7:24 ` Johannes Sixt
  0 siblings, 1 reply; 8+ messages in thread
From: Kai @ 2024-03-14 10:30 UTC (permalink / raw)
  To: git

I am encountering strange behavior when trying to merge master into a
feature branch. Trying with guis VScode and Gitkraken, both are not
displaying all conflicts in the files correctly and are just accepting
some changes from master which are conflicts and break the code.

I am including two example files as well as screenshots.

In the first example, the conflict of the UseFormReturn type changing
between the two versions of the file is not being recognized.

In the second example the useForm hook is completely different between
master and the feature branch called hook-form, but no conflict is
displayed.

Besides trying to merge the code in VScode and Gitkraken to rule out
an issue with the editor, I also installed Git-2.41.0.3-64-bit.exe to
make sure it is not a problem with Git-2.44.0-64-bit.exe I was using.

I am quite confused because this seems like a major issue that would
not have gone unnoticed so long, but I also don't see what I could be
doing wrong.

Ayn support would be much appreciated.

Example and screenshots:
https://drive.google.com/file/d/1rUaoA1rCYFzaEYeQldTupinQde-AyRjv/view?usp=sharing

VSCode used:
Version: 1.87.2 (user setup)
Commit: 863d258
Datum: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
Betriebssystem: Windows_NT x64 10.0.22631

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-23 19:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 10:30 Git is not recognizing some merge conflicts and just accepting incoming master version Kai
2024-03-15  7:24 ` Johannes Sixt
2024-03-15 13:22   ` Kai
2024-03-15 21:47     ` brian m. carlson
2024-03-15 22:19     ` Johannes Sixt
2024-03-15 22:29       ` Junio C Hamano
2024-03-16  9:19         ` Kai
2024-03-23 19:17           ` Thomas Guyot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).