summaryrefslogtreecommitdiff
path: root/config/services/git/shell-commands/repo/src/set_description_command.sh
blob: b6b40f0d9b1160810891f38bfaa0a7a0b55c28c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
repo=$(realpath "${args[repo]}")

echo "$repo"
check-realpath "$repo"
check-git-repository "$repo"
echo "Old description:"
show-descr "$repo"
echo "New description:"
echo -n "| "
read descr
echo
echo "$descr" > "$repo"/description
show-repo "$repo"