From: Stefan Sperling Subject: Re: preserve binary files during updates and merges To: gameoftrees@openbsd.org Date: Sat, 20 Nov 2021 23:03:44 +0100 On Mon, Nov 15, 2021 at 02:56:04PM +0100, Stefan Sperling wrote: > I have added test cases for 'got update' and 'got cherrypick'. > This should be enough to other relevant commands since they all share > the same file merge code. > > The tests are using /bin/ls, /bin/cat, and /bin/cp as binary file test data. > Is this a bad idea? This approach works on OpenBSD but I am not sure if > it will work on every -portable platform because some Linux distributions > tend to put things in odd places. Other suggestions? > But I think that fixing this later, once this patch has been committed, will > be easier than trying to find a perfect solution before an initial commit. This patch is now on the main branch. Is there anything we should do to make the newly added tests easier to digest for -portable releases?