diff options
author | Conley Owens <cco3@android.com> | 2014-04-30 11:31:01 -0700 |
---|---|---|
committer | Conley Owens <cco3@android.com> | 2014-04-30 11:34:00 -0700 |
commit | f2af7564256a65221e0ebc45d716672a42cd537a (patch) | |
tree | c28070ea8606341574ed207648726b2322baa2b1 | |
parent | 544e7b0a9774a6366b6a06d25992c46fd5d4f31f (diff) | |
download | git-repo-f2af7564256a65221e0ebc45d716672a42cd537a.tar.gz |
Add 'shallow' gitfile to symlinksv1.12.15
This fixes the bug that kept clients from doing things like `git log`
in projects using the clone-depth feature.
Change-Id: Ib4024a7b82ceaa7eb7b8935b007b3e8225e0aea8
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2186,7 +2186,7 @@ class Project(object): | |||
2186 | symlink_dirs = ['hooks', 'objects', 'rr-cache', 'svn'] | 2186 | symlink_dirs = ['hooks', 'objects', 'rr-cache', 'svn'] |
2187 | if share_refs: | 2187 | if share_refs: |
2188 | # These objects can only be used by a single working tree. | 2188 | # These objects can only be used by a single working tree. |
2189 | symlink_files += ['config', 'packed-refs'] | 2189 | symlink_files += ['config', 'packed-refs', 'shallow'] |
2190 | symlink_dirs += ['logs', 'refs'] | 2190 | symlink_dirs += ['logs', 'refs'] |
2191 | to_symlink = symlink_files + symlink_dirs | 2191 | to_symlink = symlink_files + symlink_dirs |
2192 | 2192 | ||