alanbian / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

repo should allow local hooks #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version: repo version v1.12.13
                  repo launcher version 1.21

Environment: Ubuntu 13.10

What steps will reproduce the problem?
1. Add a local pre-commit hook into kernel/.git/hooks/
2. repo sync kernel
3. The local pre-commit hook will be removed

What is the expected output? What do you see instead?

repo currently remove all the hooks in that folder, and relink them at every 
sync.
People may want to add specific hook for certain project instead for all.
Such local hooks should be maintained during repo sync operation.

Please provide any additional information below.

Original issue reported on code.google.com by Ethan....@gmail.com on 25 Mar 2014 at 4:02