"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: "got patch" format?
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 19 Mar 2022 16:42:25 +0100

Download raw body.

Thread
On Sat, Mar 19, 2022 at 04:24:42PM +0100, Christian Weisgerber wrote:
> I just tried to use "got patch" and promptly failed because I had
> generated the patch file with "diff -u foo.orig foo", and "got patch"
> choked because foo.orig didn't exist in the worktree.  Is this a bug,
> work in progress, ...?
> 
> -- 
> Christian "naddy" Weisgerber                          naddy@mips.inka.de
> 

This is a bug. It should use the new path, not the old one.
(Unless the new path is /dev/null)