diff --git a/bin/joj3-forge-convert b/bin/joj3-forge-convert index 9241e31..ffd81d1 100755 --- a/bin/joj3-forge-convert +++ b/bin/joj3-forge-convert @@ -57,7 +57,7 @@ EOF rsync -a --delete "/home/tt/.config/joj/" "$config_repo_path/home/tt/.config/joj" git -C "$config_repo_path" add home/tt/.config/joj if ! git -C "$config_repo_path" diff --staged --quiet; then - commit_hash=$(git rev-parse HEAD) + commit_hash=$(git -C "$config_repo_path" rev-parse HEAD) git -C "$config_repo_path" commit -m "chore: $commit_hash trigger joj3-forge convert [skip ci]" git -C "$config_repo_path" push fi