diff options
| author | Max Audron <audron@cocaine.farm> | 2025-12-22 18:26:31 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-12-22 19:01:35 +0100 |
| commit | fa5d7ead69fe58e2317ae803e25bc73069b1ec91 (patch) | |
| tree | 4ec270405db8ac24fb8643801a9a6174eb8ac03c /modules/git/git-shell-commands/section | |
| parent | update catinator (diff) | |
add git readme command
Diffstat (limited to '')
| -rwxr-xr-x | modules/git/git-shell-commands/section | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
