summaryrefslogtreecommitdiff
path: root/worktree.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove cache.h inclusion due to setup.h changesElijah Newren2023-03-211-1/+1
* setup.h: move declarations for setup.c functions from cache.hElijah Newren2023-03-211-0/+1
* environment.h: move declarations for environment.c functions from cache.hElijah Newren2023-03-211-0/+1
* wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren2023-03-211-0/+1
* abspath.h: move absolute path functions from cache.hElijah Newren2023-03-211-0/+1
* treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* treewide: remove unnecessary cache.h inclusion from a few headersElijah Newren2023-03-211-1/+1
* Merge branch 'rj/avoid-switching-to-already-used-branch'Junio C Hamano2023-03-191-32/+31
|\
| * branch: fix die_if_checked_out() when ignore_current_worktreeRubén Justo2023-02-251-2/+1
| * worktree: introduce is_shared_symref()Rubén Justo2023-02-251-31/+31
* | alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren2023-02-231-1/+2
|/
* refs: unify parse_worktree_ref() and ref_type()Han-Wen Nienhuys2022-09-191-52/+7
* Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano2022-05-201-1/+1
|\
| * Merge branch 'ep/maint-equals-null-cocci' for maint-2.35Junio C Hamano2022-05-021-1/+1
| |\
| | * tree-wide: apply equals-null.cocciJunio C Hamano2022-05-021-1/+1
* | | Merge branch 'ds/sparse-checkout-requires-per-worktree-config'Junio C Hamano2022-02-251-0/+73
|\ \ \
| * | | worktree: create init_worktree_config()Derrick Stolee2022-02-081-0/+73
| |/ /
* | | refs API: remove "failure_errno" from refs_resolve_ref_unsafe()Ævar Arnfjörð Bjarmason2022-01-261-8/+3
|/ /
* | worktree: simplify find_shared_symref() memory ownership modelAnders Kaseorg2021-12-011-6/+2
* | refs API: post-migration API renaming [2/2]Ævar Arnfjörð Bjarmason2021-10-161-3/+3
* | refs API: ignore errno in worktree.c's find_shared_symref()Ævar Arnfjörð Bjarmason2021-10-161-2/+4
* | refs API: ignore errno in worktree.c's add_head_info()Ævar Arnfjörð Bjarmason2021-10-161-2/+4
* | refs API: remove refs_read_ref_full() wrapperÆvar Arnfjörð Bjarmason2021-10-161-4/+5
|/
* *.c static functions: add missing __attribute__((format))Ævar Arnfjörð Bjarmason2021-07-131-0/+1
* dir: introduce readdir_skip_dot_and_dotdot() helperElijah Newren2021-05-131-9/+3
* use CALLOC_ARRAYRené Scharfe2021-03-131-2/+2
* worktree: teach worktree_lock_reason() to gently handle main worktreeRafael Silva2021-01-301-1/+2
* worktree: teach worktree to lazy-load "prunable" reasonRafael Silva2021-01-301-0/+20
* worktree: libify should_prune_worktree()Rafael Silva2021-01-301-0/+68
* worktree: teach `repair` to fix multi-directional breakageEric Sunshine2020-12-211-0/+41
* Merge branch 'ma/worktree-cleanups'Junio C Hamano2020-10-051-26/+20
|\
| * worktree: use skip_prefix to parse targetMartin Ågren2020-09-271-7/+7
| * worktree: rename copy-pasted variableMartin Ågren2020-09-271-6/+6
| * worktree: update renamed variable in commentMartin Ågren2020-09-271-1/+1
| * worktree: inline `worktree_ref()` into its only callerMartin Ågren2020-09-271-11/+6
| * wt-status: introduce wt_status_state_free_buffers()Martin Ågren2020-09-271-3/+2
* | worktree: teach "repair" to fix outgoing links to worktreesEric Sunshine2020-08-311-0/+74
* | worktree: teach "repair" to fix worktree back-links to main worktreeEric Sunshine2020-08-311-0/+61
|/
* worktree: retire special-case normalization of main worktree pathEric Sunshine2020-07-311-4/+2
* worktree: drop bogus and unnecessary path mungingEric Sunshine2020-07-311-6/+1
* worktree: drop unused code from get_linked_worktree()Eric Sunshine2020-07-311-3/+0
* worktree: drop pointless strbuf_release()Eric Sunshine2020-07-311-2/+0
* Merge branch 'es/worktree-code-cleanup'Junio C Hamano2020-07-061-3/+3
|\
| * worktree: avoid dead-code in conditionalEric Sunshine2020-06-241-3/+3
* | Merge branch 'es/get-worktrees-unsort'Junio C Hamano2020-07-061-17/+3
|\ \
| * | worktree: drop get_worktrees() unused 'flags' argumentEric Sunshine2020-06-221-3/+3
| * | worktree: drop get_worktrees() special-purpose sorting optionEric Sunshine2020-06-221-14/+0
| |/
* | Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano2020-03-261-6/+4
|\ \
| * | worktree: allow repository version 1brian m. carlson2020-02-241-6/+4
* | | real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy2020-03-101-2/+5