summaryrefslogtreecommitdiff
path: root/worktree.c
AgeCommit message (Expand)AuthorFilesLines
13 daysworktree repair: detect relative path in .git file correctlyYoichi NAKAYAMA1-12/+8
2026-07-16worktree: pass repository to public functionsPatrick Steinhardt1-51/+64
2026-07-16worktree: pass repository to file-local functionsPatrick Steinhardt1-21/+26
2026-07-16worktree: refactor code to use available repositoriesPatrick Steinhardt1-7/+7
2026-06-11environment: stop using `the_repository` in `is_bare_repository()`Patrick Steinhardt1-1/+1
2026-06-11environment: split up concerns of `is_bare_repository_cfg`Patrick Steinhardt1-1/+1
2026-05-19setup: stop using `the_repository` in `upgrade_repository_format()`Patrick Steinhardt1-1/+1
2026-05-02worktree: rename get_worktree_from_repository()Phillip Wood1-1/+1
2026-04-03Merge branch 'pw/worktree-reduce-the-repository'Junio C Hamano1-5/+5
2026-03-26worktree: reject NULL worktree in get_worktree_git_dir()Phillip Wood1-1/+1
2026-03-26worktree: remove "the_repository" from is_current_worktree()Phillip Wood1-4/+4
2026-03-19Merge branch 'dd/list-objects-filter-options-wo-strbuf-split'Junio C Hamano1-11/+11
2026-03-16Merge branch 'ty/setup-error-tightening'Junio C Hamano1-2/+4
2026-03-11worktree: do not pass strbuf by valueDeveshi Dwivedi1-11/+11
2026-03-09Merge branch 'ps/refs-for-each'Junio C Hamano1-1/+1
2026-03-04setup: improve error diagnosis for invalid .git filesTian Yuchen1-2/+4
2026-02-23refs: rename `each_ref_fn`Patrick Steinhardt1-1/+1
2026-02-19path: remove repository argument from worktree_git_path()Phillip Wood1-1/+1
2026-02-19wt-status: avoid passing NULL worktreePhillip Wood1-0/+20
2025-11-04refs: introduce wrapper struct for `each_ref_fn`Patrick Steinhardt1-2/+9
2025-07-23config: drop `git_config_set_in_file_gently()` wrapperPatrick Steinhardt1-2/+2
2025-07-23config: drop `git_config_set_gently()` wrapperPatrick Steinhardt1-2/+2
2025-03-26Merge branch 'sj/ref-consistency-checks-more'Junio C Hamano1-0/+5
2025-03-05Merge branch 'ps/path-sans-the-repository'Junio C Hamano1-16/+33
2025-02-27builtin/refs: get worktrees without reading head informationshejialuo1-0/+5
2025-02-07path: drop `git_common_path()` in favor of `repo_common_path()`Patrick Steinhardt1-8/+24
2025-02-07worktree: return allocated string from `get_worktree_git_dir()`Patrick Steinhardt1-5/+6
2025-02-07path: refactor `repo_submodule_path()` family of functionsPatrick Steinhardt1-1/+2
2025-02-07path: refactor `repo_common_path()` family of functionsPatrick Steinhardt1-3/+2
2025-02-05worktree: detect from secondary worktree if main worktree is bareOlga Pilipenco1-9/+32
2024-12-23Merge branch 'ps/build-sign-compare'Junio C Hamano1-0/+1
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-12-02worktree: refactor `repair_worktree_after_gitdir_move()`Caleb White1-21/+8
2024-12-02worktree: add relative cli/config options to `repair` commandCaleb White1-29/+27
2024-12-02worktree: add relative cli/config options to `move` commandCaleb White1-13/+9
2024-12-02worktree: add `write_worktree_linking_files()` functionCaleb White1-0/+35
2024-12-02worktree: refactor infer_backlink returnCaleb White1-7/+8
2024-10-08worktree: link worktrees with relative pathsCaleb White1-43/+164
2024-10-08worktree: refactor infer_backlink() to use *strbufCaleb White1-24/+24
2024-10-08Merge branch 'es/worktree-repair-copied' into cw/worktrees-relativeJunio C Hamano1-1/+39
2024-09-23worktree: repair copied repository and linked worktreesEric Sunshine1-1/+39
2024-09-12environment: make `get_git_common_dir()` accept a repositoryPatrick Steinhardt1-4/+4
2024-09-12environment: make `get_git_dir()` accept a repositoryPatrick Steinhardt1-2/+2
2024-08-23Merge branch 'ps/config-wo-the-repository'Junio C Hamano1-1/+1
2024-08-13path: stop relying on `the_repository` in `worktree_git_path()`Patrick Steinhardt1-1/+1
2024-08-09refs: add referent to each_ref_fnJohn Cai1-1/+1
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+2
2024-06-06worktree: don't store main worktree twicePatrick Steinhardt1-18/+11
2024-05-17refs: retrieve worktree ref stores via associated repositoryPatrick Steinhardt1-0/+2
2024-03-15config: add --comment option to add a commentRalph Seichter1-2/+2