From fb80b6dfb2f9f86632cce97f74d7386d8be6d4d1 Mon Sep 17 00:00:00 2001 From: dissimulo Date: Mon, 27 Apr 2026 07:41:12 -0700 Subject: [PATCH] gitconfig: use absolute include path for .gitconfig.user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous `[include] path = .gitconfig.user` was resolved relative to the config file being read, which — because `~/.gitconfig` is a symlink to `~/.yadr/git/gitconfig` — meant git looked for the user-identity override at `~/.yadr/git/.gitconfig.user` instead of the conventional `~/.gitconfig.user`. Switch to an absolute path so the include picks up the homedir file regardless of symlink layout. Co-Authored-By: Claude Opus 4.7 (1M context) --- git/gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/gitconfig b/git/gitconfig index f6af73f2..502d6109 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -126,4 +126,4 @@ # http://gitfu.wordpress.com/2008/04/20/git-rerere-rereremember-what-you-did-last-time/ enabled = true [include] - path = .gitconfig.user + path = ~/.gitconfig.user