git post-commit hook: Clean up

old-yadm
earnest ma 2021-08-25 14:54:09 -04:00
parent a9c1a87e97
commit 7b931e3d30
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
#! /usr/bin/env bash
COMMITNOTIFICATION=$(git log -1 HEAD --format=reference)
notify-send 'Git Commit Success' "$COMMITNOTIFICATION" -u low
#!/usr/bin/env bash
COMMIT_SHA=$(git log -1 HEAD --format=reference)
notify-send 'Git commit success: ' "$COMMIT_SHA" -u low