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

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: got patch: check x-bit for new files
To:
Mark Jamsek <mark@jamsek.com>
Cc:
Game of Trees <gameoftrees@openbsd.org>
Date:
Wed, 21 Sep 2022 18:58:19 +0200

Download raw body.

Thread
On 2022/09/21 20:39:52 +1000, Mark Jamsek <mark@jamsek.com> wrote:
> Quick recap from IRC:
> 
> I recently shared a diff with a new file that had the x-bit set, and
> stsp reported that `got patch` failed to set this when applying the
> patch.
> 
> The problem was, we only carry over file modes from currently versioned
> files on disk.  The below diff makes `got patch` parse `{got,git} diff`
> patches for file perms so that we apply the x-bit to new files. Includes
> regress for both got and git diffs.

late to the party, but thanks for fixing this case! :)