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.
This commit is contained in:
William Carroll 2020-08-21 17:53:08 +01:00
parent 0644e1f740
commit aeeaed605e

View file

@ -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";
}
{