bonfire/bin/gitinfo
2023-06-06 23:18:09 +05:00

10 lines
212 B
Plaintext
Executable File

#!/usr/bin/env cached-nix-shell
#! nix-shell -p nix-prefetch-git -i bash
for repo in $@; do
if [[ "$repo" != https://* ]]; then
repo="https://github.com/$repo"
fi
nix-prefetch-git --quiet "$repo"
done