Update gitsync.sh

This commit is contained in:
2025-12-04 00:56:57 +01:00
parent d530ee5c39
commit f6ba2f47da

View File

@@ -119,13 +119,13 @@ run_deployment() {
if [ -n "$OLD_HEAD" ]; then
NEW_HEAD=$(git rev-parse HEAD)
if [ "$OLD_HEAD" != "$NEW_HEAD" ]; then
echo -e "\nGit changes since last deploy:"
echo -e "Git changes since last deploy:"
git diff --shortstat "$OLD_HEAD" "$NEW_HEAD"
else
echo -e "\nNo Git changes were applied."
echo -e "No Git changes were applied."
fi
else
echo -e "\nGit repository initialized."
echo -e "Git repository initialized."
fi
}