diff options
| author | Max Audron <audron@cocaine.farm> | 2025-11-15 00:22:34 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-11-15 00:22:34 +0100 |
| commit | 53d246c2adda06165b21c55a2d5a4dc867b66994 (patch) | |
| tree | 133084ec0d492f5bb731214a91f744492cb050a4 /modules/git/git-shell-commands/desc | |
| parent | add readme (diff) | |
add git shell scripts
Diffstat (limited to 'modules/git/git-shell-commands/desc')
| -rwxr-xr-x | modules/git/git-shell-commands/desc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/git/git-shell-commands/desc b/modules/git/git-shell-commands/desc new file mode 100755 index 0000000..52cc8bb --- /dev/null +++ b/modules/git/git-shell-commands/desc @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +if [ -f "$1/config" ]; then + cd "$1" + git config cgit.desc "$2" +fi |
