-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to resolve merge conflicts via the command line created by trying to integrate the license-maintainer? #9
Comments
I'll try to figure it out myself. |
I have no idea, I have spent ages on this now (more than 3 hours in total), and the only difference is that I am adding the license header to each file. |
ok I will try to have a look in a few hours.. ok if I create a new PR if I manage to fix it? I will keep you as author of the commits as much as I can.. |
So I get conflicting files, but I don't get any merge conflicts like here.
|
@xkr47 I'll see how I go working on it in the meantime. |
Stopping for now, I may resume in the morning. |
OK I made progress with |
It's OK I'm making progress with Meld after using |
I can see from your commits that using plain |
Yeah I should've pointed that out, thanks for reviewing! |
Note that for the Unlicense, you don't need to have a copyright line with the year and authors. I removed that line from my template and some files, while the output of the commit had the following for each file that didn't have a year or author:
|
Ok, this is a clear bug. I will fix it when I can. |
This is my patch for license.pm without references to year or authors. https://gist.github.com/jamesray1/914185797d335d96509be33c7062f420 Note that I have no experience with Perl until now. I just removed all references, then hacked modifications to fix compiler errors until I got to an error with the pre-commit. While that seems to work, I need to modify the pre-commit next. |
So I commented out references in the pre-commit, but it is failing on line 131. https://gist.github.com/jamesray1/f9754e72c452a856cf02295991a4734e. I haven't been able to debug it using the Perl Debug extension with VS Code.
|
So I got merge conflicts on several files with a pull request here. Here is the patch diff. I'm not sure how to resolve this, following the instructions to resolve the conflicts via the command line didn't help.
The text was updated successfully, but these errors were encountered: