summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common6
1 files changed, 3 insertions, 3 deletions
diff --git a/common b/common
index 6c7db2f..7dfc7dc 100644
--- a/common
+++ b/common
@@ -14,19 +14,19 @@ keys=(
'REV'
)
-find_vcs() {
+find_vcfs() {
{
find "${git_dir}" \
-name '.git' \
-prune \
, \
-type f \
- -name '*.vcs' \
+ -name '*.vcf' \
-printf '%p\n'
git -C "${git_dir}" archive HEAD \
| tar -t \
| sed '
- /\.vcs$/!d
+ /\.vcf$/!d
s@^@'"${git_dir%/}"'/@
'
} \