175 current 2025-01-03 00:32:49 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
pushd /home/synchronous/nix-cfg
|
pushd /home/synchronous/nix-cfg
|
||||||
|
|
||||||
# Early return if no changes were detected (thanks @singiamtel!)
|
# Early return if no changes were detected (thanks @singiamtel!)
|
||||||
git --git-dir /home/synchronous/nix-cfg/.git add .
|
# git --git-dir /home/synchronous/nix-cfg/.git add .
|
||||||
if git --git-dir /home/synchronous/nix-cfg/.git diff --cached --quiet; then
|
if git --git-dir /home/synchronous/nix-cfg/.git diff --quiet; then
|
||||||
echo "No changes detected, exiting."
|
echo "No changes detected, exiting."
|
||||||
popd
|
popd
|
||||||
exit 0
|
exit 0
|
||||||
@@ -22,6 +22,8 @@ alejandra . &>/dev/null \
|
|||||||
|| ( alejandra . ; echo "formatting failed!" && exit 1)
|
|| ( alejandra . ; echo "formatting failed!" && exit 1)
|
||||||
|
|
||||||
# Shows your changes
|
# Shows your changes
|
||||||
|
|
||||||
|
git --git-dir /home/synchronous/nix-cfg/.git add .
|
||||||
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
|
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
|
||||||
# '*.nix'
|
# '*.nix'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user