Download raw body.
got patch: check x-bit for new files
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! :)
got patch: check x-bit for new files