Download raw body.
got patch: check x-bit for new files
On Wed, Sep 21, 2022 at 08:39:52PM +1000, Mark Jamsek 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.
Lovely, thank you for fixing this.
ok stsp@
got patch: check x-bit for new files