blob: e25a8ac4f128d897185ba7c6b664fab167902635 (
plain)
1
2
3
4
5
6
7
|
#! /bin/sh
# list-hosts : lines tinc-host-file
set -euf
# Precondition: $PWD/hosts is the correct repository :)
git -C hosts ls-tree --name-only HEAD \
| awk '{print ENVIRON["PWD"]"/hosts/"$$0}'
|