Closed rgleason closed 3 years ago
Fixed above, Now when building, I get this
C:\Users\fcgle\source\logbookkonni_pi\src\Logbook.cpp(65): error C2059: syntax error: '<<' [C:\Users\fcgle\source\logbookkonni_pi\build\LogbookKonni_pi.vcxproj] [C:\Users\fcgle\source\logbookkonni_pi\build\tarball-build.vcxproj]
C:\Users\fcgle\source\wxWidgets\include\wx/datetimectrl.h(29): error C2059: syntax error: 'public' [C:\Users\fcgle\source\logbookkonni_pi\build\LogbookKonni_pi.vcxproj] [C:\Users\fcgle\source\logbookkonni_pi\build\tarball-build.vcxproj]
C:\Users\fcgle\source\wxWidgets\include\wx/datetimectrl.h(30): error C2143: syntax error: missing ';' before '{' [C:\Users\fcgle\source\logbookkonni_pi\build\LogbookKonni_pi.vcxproj] [C:\Users\fcgle\source\logbookkonni_pi\build\tarball-build.vcxproj]
After fixing that one and trying local build again.
Building Custom Rule C:/Users/fcgle/source/logbookkonni_pi/CMakeLists.txt
-- Creating tarball Logbook-1.4.20.0+2110301232.45f7cad_msvc-10.0.19042-win32.tar.gz
-- Computing checksum in Logbook-1.4-msvc-10.0.19042.xml
So the question is, what did I do wrong? Why weren't these conflicts resolved in the PR merge and why did they even occur? Then when I git remote update origin why didn't it show up as conflicts?
Loaded it and it works.
Those changes are related to wrong file endings ("wrong" as defined by .gitattributes). Similar things has occurred to me, but does go away once all files has the correct endings.
In short, it is a price we pay for having ignored these things up to now. git add --renormalize .
is useful in these situations.
Thanksfor the explanation Will add that git cmd to my notes.
Does git not handle html very well?
html is no difference for git. What you had here was probably introduced earlier. One can go back in the history to find the exact commit which added these markers using git bisect
, but this is perhaps not part of the current git basic primer ;) As long as it not becomes a major problem, I suggest that you just solve it when it happens. That's what I do
I've added it to my notes. Is it advisable to add --renormalize whenever I use git add?
NOt at all. Once you have done it and checked in the results it should be the last time.
Good. Understood. Thanks.
After merging your PR to my remote LogbookKonni_pi. Locally,
git remote update origin
Then tried to build locally and got these errors:
It appears this is part of some uncompleted merge. Does git not handle html very well? I fail to see the difference, so will just pick one and correct it.