Commitd10360afRecorded16 Mar 2026Repositorysigil-git
Fix app install dependency resolution for standalone packages
Message
collect-git-deps uses relative paths from workspace packages, but when called from sigil app install the current directory is the user's project, not the app worktree. Use with-current-directory to resolve deps from the correct location.
Changed
src/sigil/git.sgl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Diff
src/sigil/git.sglmodified
@@ -160,7 +160,7 @@
160
(define (git-fetch repo-dir) 161
(let ((old-dir (current-directory))) 162
(set-current-directory! repo-dir)−163
(let ((result (process-run "git" "fetch" "--all" "--prune" "--tags" "--quiet")))+163
(let ((result (process-run "git" "fetch" "--all" "--prune" "--tags" "--force" "--quiet"))) 164
(set-current-directory! old-dir) 165
(= result 0)))) 166