summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xssg2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssg b/ssg
index 07a525c..8253b52 100755
--- a/ssg
+++ b/ssg
@@ -23,7 +23,7 @@ for src_file in ${src_files}; do
done
# Copy images
-if git rev-parse media; then
+if git rev-parse --verify media; then
git restore --source="${media_branch}" --worktree "img"
mv "img" "out"
fi
remember that computers suck.