c1894d3e41
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.
11 lines
113 B
Bash
Executable file
11 lines
113 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
# Redirect output to stderr.
|
|
exec 1>&2
|
|
|
|
fdroid lint -f
|