Skip to content
Permalink
Browse files
Try git fetch for unadvertised object error
Fixes fetching submodules from non-default branches.
  • Loading branch information
PhysSong committed Apr 13, 2018
1 parent 0c0bfbd commit 0850b78
Showing 1 changed file with 2 additions and 2 deletions.
@@ -113,8 +113,8 @@ MACRO(GIT_SUBMODULE SUBMODULE_PATH FORCE_DEINIT FORCE_REMOTE)
ENDIF()
ENDMACRO()

SET(MISSING_COMMIT_PHRASES "no such remote ref;reference is not a tree")
SET(RETRY_PHRASES "Failed to recurse;unadvertised object;cannot create directory;already exists;${MISSING_COMMIT_PHRASES}")
SET(MISSING_COMMIT_PHRASES "no such remote ref;reference is not a tree;unadvertised object")
SET(RETRY_PHRASES "Failed to recurse;cannot create directory;already exists;${MISSING_COMMIT_PHRASES}")

# Attempt to do lazy clone
FOREACH(_submodule ${SUBMODULE_LIST})

0 comments on commit 0850b78

Please sign in to comment.