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