From fa5d7ead69fe58e2317ae803e25bc73069b1ec91 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Mon, 22 Dec 2025 18:26:31 +0100 Subject: add git readme command --- modules/git/git-shell-commands/section | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/git/git-shell-commands/section') diff --git a/modules/git/git-shell-commands/section b/modules/git/git-shell-commands/section index b1a998e..e367a5e 100755 --- a/modules/git/git-shell-commands/section +++ b/modules/git/git-shell-commands/section @@ -1,6 +1,6 @@ #!/usr/bin/env sh if [ -f "$1/config" ]; then - cd "$1" + cd "$1" || exit git config cgit.section "$2" fi -- cgit v1.2.3