This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 72a46e1cfdc [hotfix][ci] Use blobless fetch in Azure single-branch
checkout
72a46e1cfdc is described below
commit 72a46e1cfdc85c9411ed62a74619fd83ca5ba991
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Thu Oct 29 17:48:08 2026 +0100
[hotfix][ci] Use blobless fetch in Azure single-branch checkout
---
tools/azure-pipelines/checkout-single-branch.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/azure-pipelines/checkout-single-branch.yml
b/tools/azure-pipelines/checkout-single-branch.yml
index 3c8c1828da9..407071cff16 100644
--- a/tools/azure-pipelines/checkout-single-branch.yml
+++ b/tools/azure-pipelines/checkout-single-branch.yml
@@ -13,7 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Fetch only the built ref at full depth: no all-branch/tag sync, but HEAD~N
diffs still resolve.
+# Fetch only the built ref, blobless: full commit/tree history so HEAD~N diffs
still resolve,
+# file contents are fetched only for the checked-out commit.
steps:
- checkout: none
- bash: |
@@ -21,6 +22,6 @@ steps:
git init .
git config --global --add safe.directory "$PWD"
git remote add origin "$(Build.Repository.Uri)"
- git fetch --no-tags origin "$(Build.SourceBranch)"
+ git fetch --no-tags --filter=blob:none origin "$(Build.SourceBranch)"
git checkout --force "$(Build.SourceVersion)"
- displayName: Checkout single branch (full history)
+ displayName: Checkout single branch (blobless)