commit | e8915786e1e007742f47fee507b1b6288b6cedae | [log] [tgz] |
---|---|---|
author | Ihar Hrachyshka <ihrachys@redhat.com> | Wed Apr 19 16:57:44 2023 -0400 |
committer | Ihar Hrachyshka <ihrachys@redhat.com> | Thu Apr 20 11:06:37 2023 -0400 |
tree | 2ba1acf8647a81197807e573ac57f31fed9908e2 | |
parent | b33ec4bf1bec70f9a95af55fe47d30418c7325c2 [diff] |
git: support git checkout for a commit hash git_clone assumes a branch or a tag is passed as the last argument, and it fails when a commit hash is passed, as in: timeout -s SIGINT 0 git clone https://github.com/ovn-org/ovn.git /opt/stack/ovn --branch 36e3ab9b47e93af0599a818e9d6b2930e49473f0 Cloning into '/opt/stack/ovn'... fatal: Remote branch 36e3ab9b47e93af0599a818e9d6b2930e49473f0 not found in upstream origin Change-Id: Id1328d7cba418fa7c227ae9db4fe83c09fd06035