vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.89k stars 120 forks source link

Recent changes causing `git pull` conflict` #58

Closed JalonSolov closed 2 years ago

JalonSolov commented 2 years ago

I started seeing this recently, whenever I do a git pull:

error: Your local changes to the following files would be overwritten by merge:
        kernel/blob.patch
Please commit your changes or stash them before you merge.

I have not modified that file, myself, so it must be happening during make distro or make operations. I have to do a git restore on the file before git pull works.

Ccode-lang commented 2 years ago

try running:

git add *
git diff --staged

after a build in a new clone

Ccode-lang commented 2 years ago

this will give what was changed since last commit

JalonSolov commented 2 years ago

A simple git status will tell you what's different. Can't build right now, due to the other issue I entered.

Ccode-lang commented 2 years ago

git status will only tell the files that have changed.
git diff shows the difference of the lines like the ones shown in a Github commit.

Ccode-lang commented 2 years ago

I'm trying to find what is causing the problem for that issue

JalonSolov commented 2 years ago

What's causing the issue is that what is apparently a generated patch file was pushed to the repository, and likely should have been in the .gitignore file instead. That's the only reason simply pulling the code then building will cause the issue.

Ccode-lang commented 2 years ago

ok, interesting.🤔

Ccode-lang commented 2 years ago

Running a test on actions because the build system does not support my mac. It seems to be working so far.