Fix: Address submodule update issues
[releng/global-jjb.git] / releasenotes / notes / submodule-update-9bd82d3c05ec4148.yaml
1 ---
2 issues:
3   - |
4     git-review tries to copy commit-msg hook to submodules with incorrect
5     source file path (.git/hooks/commit-msg) and fails - the path should
6     be ../.git/hooks/commit-msg if a relative path is used since the copy
7     command is run in the submodule directory
8   - |
9     lf-activate-venv creates a virtual environment in the current working
10     directory where lf-activate-venv is run. This clutters the repository
11     and all the files for the virtual environment are added for update.
12
13 fixes:
14   - |
15     Set 'core.hooksPath' with the absolute path of the top-level hooks directory
16     so that the correct source path can be used regardless of the working directory.
17   - |
18     Use the correct command depending on the $install_args value to avoid
19     creating an additional virtual environment in the current working directory.