diff options
| author | D. Ben Knoble <ben.knoble+github@gmail.com> | 2026-05-12 17:21:43 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-13 10:25:52 +0900 |
| commit | bd40c65bbc98eb1244d7f91e7265af0aa21e4404 (patch) | |
| tree | af5acec34bbac8a0eb02e14e57b2e98963fcc9c9 /contrib/persistent-https/socket.go | |
| parent | 94f057755b7941b321fd11fec1b2e3ca5313a4e0 (diff) | |
ignore: note info/exclude lives in GIT_COMMON_DIR, not GIT_DIR
gitignore(5) says that the per-repository ignore file is
$GIT_DIR/info/exclude, but in a worktree that is not the case:
git rev-parse --git-path info/exclude
/path/to/main/worktree/.git/info/exclude
git rev-parse --git-common-dir
/path/to/main/worktree/.git
We actually use $GIT_COMMON_DIR/info/exclude. Adjust the documentation
and some code comments to say so.
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions
