Gen 385: removed diff check from nixcommit.sh
This commit is contained in:
@@ -7,12 +7,6 @@ nix flake update
|
||||
gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1/')
|
||||
gen=$((gen + 1))
|
||||
|
||||
git diff --quiet
|
||||
if [ $? -eq 0 ]; then
|
||||
scheck && runbg aplay ~/media/sound/sys/warning.wav
|
||||
echo "Nothing to commit"
|
||||
exit
|
||||
fi
|
||||
git add .
|
||||
git commit -m "Gen $gen: $@"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user