This avoids calling rewritemeta separately, which means parsing all the metadata files once instead of twice. This reduces the running time of the pre-commit script from ~3s to ~2s on my machine. |
||
|---|---|---|
| .. | ||
| install-hooks.sh | ||
| pre-commit | ||
This avoids calling rewritemeta separately, which means parsing all the metadata files once instead of twice. This reduces the running time of the pre-commit script from ~3s to ~2s on my machine. |
||
|---|---|---|
| .. | ||
| install-hooks.sh | ||
| pre-commit | ||