summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-11-15 12:39:00 -0500
committerMike Frysinger <vapier@google.com>2021-11-15 19:50:18 +0000
commit333c0a499bd76a129dfbb4ba78c182c398caa79f (patch)
treea132e6384fc780f6fb9f1b0272f4961a991739f9 /git_superproject.py
parentfdeb20f43fa853f4113598f18045bd2f6414569b (diff)
downloadgit-repo-333c0a499bd76a129dfbb4ba78c182c398caa79f.tar.gz
project: init hooks in objdir only
objdir is the .repo/project-objects/ dir based on the remote path. gitdir is the .repo/projects/ dir based on the local source checkout path. When we setup the gitdir, we symlink "hooks" to the one in the objdir. But when we go to initialize the hooks, we do it via gitdir. There is a 1-to-many mapping from project-objects to projects, so initializing via gitdir can be repetitive. Collapse the hook init logic to the objdir init path. Change-Id: I828fca60ce6e125d6706c709cdb2797faa40aa50 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/323815 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'git_superproject.py')
0 files changed, 0 insertions, 0 deletions