diff --git a/git_common.py b/git_common.py index 182fc0c16..955008567 100644 --- a/git_common.py +++ b/git_common.py @@ -1083,6 +1083,7 @@ def make_workdir(repository, new_workdir): 'refs', 'remotes', 'rr-cache', + 'shallow', ] make_workdir_common(repository, new_workdir, GIT_DIRECTORY_WHITELIST, ['HEAD'])