From 53d246c2adda06165b21c55a2d5a4dc867b66994 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sat, 15 Nov 2025 00:22:34 +0100 Subject: add git shell scripts --- modules/git/git-shell-commands/section | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 modules/git/git-shell-commands/section (limited to 'modules/git/git-shell-commands/section') 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 -- cgit v1.2.3