aboutsummaryrefslogtreecommitdiff
path: root/modules/git/git-shell-commands/desc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/git-shell-commands/desc')
-rwxr-xr-xmodules/git/git-shell-commands/desc6
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