From aeeaed605ed21c5ce8cddb5ffea021ae3cb55785 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 21 Aug 2020 17:53:08 +0100 Subject: [PATCH] Log git information during briefcase's lint stage I would like to find out what the state of the repo is during pre-receive hook. --- ci/pipelines/briefcase.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/pipelines/briefcase.nix b/ci/pipelines/briefcase.nix index b01e9f93c..aa39e1ecf 100644 --- a/ci/pipelines/briefcase.nix +++ b/ci/pipelines/briefcase.nix @@ -3,7 +3,11 @@ let pipeline.steps = [ { - command = "${pkgs.git-secrets}/bin/git-secrets --scan-history"; + command = '' + git log -n 1 + git show + ${pkgs.git-secrets}/bin/git-secrets --scan-history + ''; label = ":broom: lint"; } {