[PR #403] Preserve symlinks when writing config files in install-hooks #447

Closed
opened 2026-03-02 04:13:39 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/403

State: closed
Merged: Yes


write_atomic() breaks symlinks when updating configuration files. This causes install-hooks to break setups where config/settings files are symlinked (e.g. via a dotfiles repo).

This updates the logic to resolve symlinks (if present) before writing.

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/403 **State:** closed **Merged:** Yes --- `write_atomic()` breaks symlinks when updating configuration files. This causes `install-hooks` to break setups where config/settings files are symlinked (e.g. via a dotfiles repo). This updates the logic to resolve symlinks (if present) before writing.
kerem 2026-03-02 04:13:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#447
No description provided.