From: Omar Polo Subject: Re: got patch: check x-bit for new files To: Mark Jamsek Cc: Game of Trees Date: Wed, 21 Sep 2022 18:58:19 +0200 On 2022/09/21 20:39:52 +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. late to the party, but thanks for fixing this case! :)