about summary refs log tree commit diff stats
path: root/pkgs/by-name/gi/git-cm/git-cm.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 11:47:10 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-14 11:47:10 +0200
commit13b58615f9811aea8d2b278925e60001f594c7aa (patch)
tree88ba81f149e48b5b3a74462d07eba75990b9b252 /pkgs/by-name/gi/git-cm/git-cm.sh
parentpkgs/con2pdf: Migrate to `writeShellApplication` (diff)
downloadnixos-config-13b58615f9811aea8d2b278925e60001f594c7aa.zip
pkgs/git-cm: Migrate to `writeShellApplication` and remove default `--verbose`
Diffstat (limited to 'pkgs/by-name/gi/git-cm/git-cm.sh')
-rwxr-xr-xpkgs/by-name/gi/git-cm/git-cm.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/by-name/gi/git-cm/git-cm.sh b/pkgs/by-name/gi/git-cm/git-cm.sh
index 2204e4d6..1eb46730 100755
--- a/pkgs/by-name/gi/git-cm/git-cm.sh
+++ b/pkgs/by-name/gi/git-cm/git-cm.sh
@@ -1,8 +1,5 @@
 #!/usr/bin/env dash
 
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
 ROOT="$(git rev-parse --show-toplevel)"
 
 # Take first line from previous commit
@@ -13,6 +10,6 @@ else
 fi
 sed '1d' "$(git config commit.template)" >>"$ROOT/.git/COMMIT_TEMPLATE"
 
-git commit --template "$ROOT/.git/COMMIT_TEMPLATE" --verbose "$@"
+git commit --template "$ROOT/.git/COMMIT_TEMPLATE" "$@"
 
 # vim: ft=sh