summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-12-20 17:46:55 -0500
committerMike Frysinger <vapier@google.com>2022-01-06 08:29:06 +0000
commit2345906d04e6af264f7bcaf6dfae52e65786beac (patch)
treef83e8bbd4103ffc6c775637e24ca5b221af2ab94 /project.py
parent41289c62b45e4ae4c9cfffc4acaadd1c4f17e149 (diff)
downloadgit-repo-2345906d04e6af264f7bcaf6dfae52e65786beac.tar.gz
project: stop symlinking description file under .git/
Nothing uses this path. It’s only for exporting git dirs e.g. for online gitweb use which probably no one does. It is not the same description file as exists on servers we cloned from. Leaving it as the default plain text file will simplify code. We don't undo any existing symlinks if they exist since repo does not care about them, and their existence doesn't hurt. Bug: https://crbug.com/gerrit/15460 Change-Id: Ic34fe7c3cfb8f6da844de5be30158f59382b1cc8 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/327518 Reviewed-by: Jonathan Nieder <jrn@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index db44cde5..a764b951 100644
--- a/project.py
+++ b/project.py
@@ -457,7 +457,7 @@ class RemoteSpec(object):
457 457
458class Project(object): 458class Project(object):
459 # These objects can be shared between several working trees. 459 # These objects can be shared between several working trees.
460 shareable_files = ['description', 'info'] 460 shareable_files = ['info']
461 shareable_dirs = ['hooks', 'objects', 'rr-cache'] 461 shareable_dirs = ['hooks', 'objects', 'rr-cache']
462 462
463 def __init__(self, 463 def __init__(self,