Reviewed: https://review.opendev.org/c/openstack/devstack/+/888752 Committed: https://opendev.org/openstack/devstack/commit/0a1ea3ed531a0c331e73d57b318b1d7450a8848f Submitter: "Zuul (22348)" Branch: stable/yoga
commit 0a1ea3ed531a0c331e73d57b318b1d7450a8848f Author: jskunda <email address hidden> Date: Tue Jul 18 09:32:05 2023 +0200
git: git checkout for a commit hash combinated with depth argument
This patch: https://review.opendev.org/c/openstack/devstack/+/882299 provides functionality, that commit hash can be passed as last arugment, however when GIT_DEPTH is set, it fails, as in:
timeout -s SIGINT 0 git clone https://github.com/ovn-org/ovn.git ./ovn --depth 1 --branch 03b95a4566a15f7544f4cdf35629dacede4dcf55 fatal: Remote branch 03b95a4566a15f7544f4cdf35629dacede4dcf55 not found in upstream origin
Closes-Bug: #2023020 Change-Id: I748354964a133e028e12458cc9014d6d014cbdb9
Reviewed: https:/ /review. opendev. org/c/openstack /devstack/ +/888752 /opendev. org/openstack/ devstack/ commit/ 0a1ea3ed531a0c3 31e73d57b318b1d 7450a8848f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 0a1ea3ed531a0c3 31e73d57b318b1d 7450a8848f
Author: jskunda <email address hidden>
Date: Tue Jul 18 09:32:05 2023 +0200
git: git checkout for a commit hash combinated with depth argument
This patch: https:/ /review. opendev. org/c/openstack /devstack/ +/882299
provides functionality, that commit hash can be passed as last arugment,
however when GIT_DEPTH is set, it fails, as in:
timeout -s SIGINT 0 git clone https:/ /github. com/ovn- org/ovn. git ./ovn 544f4cdf35629da cede4dcf55 544f4cdf35629da cede4dcf55
--depth 1 --branch 03b95a4566a15f7
fatal: Remote branch 03b95a4566a15f7
not found in upstream origin
Closes-Bug: #2023020 028e12458cc9014 d6d014cbdb9
Change-Id: I748354964a133e