ayaports/apk/main/dotnet6/fsharp_use-work-tree-with-git.patch

28 lines
1,017 B
Diff
Raw Normal View History

2022-02-07 01:02:56 +00:00
From 049eae11c8a0e13c0b46a01e864bf864f815c491 Mon Sep 17 00:00:00 2001
Patch-Source: https://src.fedoraproject.org/rpms/dotnet6.0/raw/rawhide/f/fsharp-use-work-tree-with-git-apply.patch
From: Omair Majid <omajid@redhat.com>
Date: Thu, 9 Sep 2021 12:11:39 -0400
Date: Sun, 23 Jan 2022 15:18:50 +0000
Subject: [PATCH 1/1] [ArPow] Use --work-tree with git apply
---
eng/SourceBuild.props | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
index 22c929f28..a8022069e 100644
2022-01-23 02:53:35 +00:00
--- a/eng/SourceBuild.props
+++ b/eng/SourceBuild.props
@@ -15,7 +15,7 @@
</ItemGroup>
<Exec
- Command="git apply --ignore-whitespace --whitespace=nowarn &quot;%(SourceBuildPatchFile.FullPath)&quot;"
+ Command="git --work-tree=&quot;$(RepoRoot)&quot; apply --ignore-whitespace --whitespace=nowarn &quot;%(SourceBuildPatchFile.FullPath)&quot;"
WorkingDirectory="$(RepoRoot)"
Condition="'@(SourceBuildPatchFile)' != ''" />
</Target>
2022-02-07 01:02:56 +00:00
--
2.34.1