diff options
Diffstat (limited to 'modules/git/git-shell-commands/desc')
| -rwxr-xr-x | modules/git/git-shell-commands/desc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/git/git-shell-commands/desc b/modules/git/git-shell-commands/desc new file mode 100755 index 0000000..52cc8bb --- /dev/null +++ b/modules/git/git-shell-commands/desc @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +if [ -f "$1/config" ]; then + cd "$1" + git config cgit.desc "$2" +fi |
