commit | 770352beb05f63fb9192ad488b6b8344fd57c985 | [log] [tgz] |
---|---|---|
author | jskunda <jskunda@redhat.com> | Tue Jul 18 09:32:05 2023 +0200 |
committer | jskunda <jskunda@redhat.com> | Thu Jul 20 10:21:41 2023 +0200 |
tree | 6830755fdc7b2595263faec671d27146551686fd | |
parent | e261bd809e81c01c153cdcdb50be47ed3c89c46a [diff] |
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