aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-10-04 08:09:35 -0700
committerJunio C Hamano <gitster@pobox.com>2019-10-06 09:07:44 +0900
commitb35304bf958812a99dcbda366670ddc7bf9e086d (patch)
treea2657104f64b84b7298e4f7e5ce6947007006f32
parentab7d854abaada90febf5b2e0839dd662cb0c8d10 (diff)
downloadgit-b35304bf958812a99dcbda366670ddc7bf9e086d.tar.gz
ci: really use shallow clones on Azure Pipelines
This was a left-over from the previous YAML schema, and it no longer works. The problem was noticed while editing `azure-pipelines.yml` in VS Code with the very helpful "Azure Pipelines" extension (syntax highlighting and intellisense for `azure-pipelines.yml`...). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--azure-pipelines.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c329b7218b..55ee23ad0f 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,6 +1,5 @@
-resources:
-- repo: self
- fetchDepth: 1
+variables:
+ Agent.Source.Git.ShallowFetchDepth: 1
jobs:
- job: windows_build