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/desc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/git/git-shell-commands/desc') diff --git a/modules/git/git-shell-commands/desc b/modules/git/git-shell-commands/desc index 52cc8bb..d81f46c 100755 --- a/modules/git/git-shell-commands/desc +++ b/modules/git/git-shell-commands/desc @@ -1,6 +1,6 @@ #!/usr/bin/env sh if [ -f "$1/config" ]; then - cd "$1" + cd "$1" || exit git config cgit.desc "$2" fi -- cgit v1.2.3