Skip to content

Commit 5d100cc

Browse files
committed
refactor(git)!: disable git trailer signing
Eh, thought it was a cool concept at first and usually find it more annoying.
1 parent 1abd851 commit 5d100cc

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

modules/home/programs/terminal/tools/git/default.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,15 @@ in
189189
fi
190190
''
191191
);
192-
prepare-commit-msg = lib.getExe (
193-
pkgs.writeShellScriptBin "prepare-commit-msg" ''
194-
echo "Signing off commit"
195-
${lib.getExe config.programs.git.package} interpret-trailers --if-exists doNothing --trailer \
196-
"Signed-off-by: ${cfg.userName} <${cfg.userEmail}>" \
197-
--in-place "$1"
198-
''
199-
);
192+
# NOTE: Appends 'Signed-off-by: Austin Horstman <khaneliman12@gmail.com>'
193+
# prepare-commit-msg = lib.getExe (
194+
# pkgs.writeShellScriptBin "prepare-commit-msg" ''
195+
# echo "Signing off commit"
196+
# ${lib.getExe config.programs.git.package} interpret-trailers --if-exists doNothing --trailer \
197+
# "Signed-off-by: ${cfg.userName} <${cfg.userEmail}>" \
198+
# --in-place "$1"
199+
# ''
200+
# );
200201
};
201202

202203
signing = {

0 commit comments

Comments
 (0)