From 2345906d04e6af264f7bcaf6dfae52e65786beac Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Dec 2021 17:46:55 -0500 Subject: [PATCH] project: stop symlinking description file under .git/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Mike Frysinger --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): class Project(object): # These objects can be shared between several working trees. - shareable_files = ['description', 'info'] + shareable_files = ['info'] shareable_dirs = ['hooks', 'objects', 'rr-cache'] def __init__(self,