Re: [PATCH 3/3] parse: replace atoi() with strtoul_ui() and strtol_i()
From: Phillip Wood <hidden>
Date: 2024-10-16 09:20:14
From: Phillip Wood <hidden>
Date: 2024-10-16 09:20:14
On 15/10/2024 19:28, phillip.wood123@gmail.com wrote:
On 15/10/2024 16:17, Usman Akinyemi wrote:quoted
I grepped the error message and I noticed that the message is gotten from parse-options.c and it ensures that the arg is negative. How to proceed in such a case ?The code you're changing parses the conflict-marker-size attribute so you need to set up a .gitattributes file with an invalid marker size and then run "git merge" or "git cherry-pick"
t/t6406-merge-attr.sh would be a good place to add this test Best Wishes Phillip