From eecb7380143d2b21d021d707d46ecc752a222c31 Mon Sep 17 00:00:00 2001 From: Tobias Langenbucher Date: Wed, 3 Jun 2026 15:37:17 +0200 Subject: [PATCH] Add note about shallow clone depth's effect on changesets --- .../plugins/git/extensions/impl/CloneOption/help-depth.html | 2 ++ .../plugins/git/extensions/impl/SubmoduleOption/help-depth.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth.html b/src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth.html index c89b8367df..a73ef2b76d 100644 --- a/src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth.html +++ b/src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth.html @@ -1,4 +1,6 @@
Set shallow clone depth, so that git will only download recent history of the project, saving time and disk space when you just want to access the latest commits of a repository. + Note that this has an effect on the changesets listed by Jenkins. Setting this to 1 causes + all files in the repository to be listed in every change.
diff --git a/src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth.html b/src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth.html index c89b8367df..a73ef2b76d 100644 --- a/src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth.html +++ b/src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth.html @@ -1,4 +1,6 @@
Set shallow clone depth, so that git will only download recent history of the project, saving time and disk space when you just want to access the latest commits of a repository. + Note that this has an effect on the changesets listed by Jenkins. Setting this to 1 causes + all files in the repository to be listed in every change.