aboutsummaryrefslogtreecommitdiff
path: root/modules/git/git-shell-commands/desc
blob: d81f46c0dbeb3a6617f5cd84ff34f774ac87d6bc (plain)
1
2
3
4
5
6
#!/usr/bin/env sh

if [ -f "$1/config" ]; then
  cd "$1" || exit
  git config cgit.desc "$2"
fi