From f2af7564256a65221e0ebc45d716672a42cd537a Mon Sep 17 00:00:00 2001 From: Conley Owens Date: Wed, 30 Apr 2014 11:31:01 -0700 Subject: [PATCH] Add 'shallow' gitfile to symlinks This fixes the bug that kept clients from doing things like `git log` in projects using the clone-depth feature. Change-Id: Ib4024a7b82ceaa7eb7b8935b007b3e8225e0aea8 --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.py b/project.py index 0f110961..22184578 100644 --- a/project.py +++ b/project.py @@ -2186,7 +2186,7 @@ class Project(object): symlink_dirs = ['hooks', 'objects', 'rr-cache', 'svn'] if share_refs: # These objects can only be used by a single working tree. - symlink_files += ['config', 'packed-refs'] + symlink_files += ['config', 'packed-refs', 'shallow'] symlink_dirs += ['logs', 'refs'] to_symlink = symlink_files + symlink_dirs