diff options
author | 2017-06-21 22:49:25 -0700 | |
---|---|---|
committer | 2017-06-22 16:52:17 +0000 | |
commit | 6f825c7a95549824545b66fe3ab5b3ed53905a44 (patch) | |
tree | e76d23519e650f6dba4ae7b6ee8dcc7bb1f1d51e /api/server.py | |
parent | 5c33b82efbc0f7e58bdcfc4288ce08b7b3c999f2 (diff) |
improve git code with devstack functions
if we aren't re-cloning we still need to make sure
we update the branch/tag/commit to the version from the remote
so we need to fetch and then checkout again
it is more complicated. Dockerfile does a shallow
clone, so we don't get all the remote ref information.
To clone a random remote commit id we have to unshallow
Change-Id: If15f504b6ff2cfdfc8894fd3b37e687a19616714
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'api/server.py')
0 files changed, 0 insertions, 0 deletions