summaryrefslogtreecommitdiffstats
path: root/worktree.c
AgeCommit message (Expand)AuthorLines
2021-12-01worktree: simplify find_shared_symref() memory ownership modelAnders Kaseorg-6/+2
2021-10-16refs API: post-migration API renaming [2/2]Ævar Arnfjörð Bjarmason-3/+3
2021-10-16refs API: ignore errno in worktree.c's find_shared_symref()Ævar Arnfjörð Bjarmason-2/+4
2021-10-16refs API: ignore errno in worktree.c's add_head_info()Ævar Arnfjörð Bjarmason-2/+4
2021-10-16refs API: remove refs_read_ref_full() wrapperÆvar Arnfjörð Bjarmason-4/+5
2021-07-13*.c static functions: add missing __attribute__((format))Ævar Arnfjörð Bjarmason-0/+1
2021-05-13dir: introduce readdir_skip_dot_and_dotdot() helperElijah Newren-9/+3
2021-03-13use CALLOC_ARRAYRené Scharfe-2/+2
2021-01-30worktree: teach worktree_lock_reason() to gently handle main worktreeRafael Silva-1/+2
2021-01-30worktree: teach worktree to lazy-load "prunable" reasonRafael Silva-0/+20
2021-01-30worktree: libify should_prune_worktree()Rafael Silva-0/+68
2020-12-21worktree: teach `repair` to fix multi-directional breakageEric Sunshine-0/+41
2020-10-05Merge branch 'ma/worktree-cleanups'Junio C Hamano-26/+20
2020-09-27worktree: use skip_prefix to parse targetMartin Ågren-7/+7
2020-09-27worktree: rename copy-pasted variableMartin Ågren-6/+6
2020-09-27worktree: update renamed variable in commentMartin Ågren-1/+1
2020-09-27worktree: inline `worktree_ref()` into its only callerMartin Ågren-11/+6
2020-09-27wt-status: introduce wt_status_state_free_buffers()Martin Ågren-3/+2
2020-08-31worktree: teach "repair" to fix outgoing links to worktreesEric Sunshine-0/+74
2020-08-31worktree: teach "repair" to fix worktree back-links to main worktreeEric Sunshine-0/+61
2020-07-31worktree: retire special-case normalization of main worktree pathEric Sunshine-4/+2
2020-07-31worktree: drop bogus and unnecessary path mungingEric Sunshine-6/+1
2020-07-31worktree: drop unused code from get_linked_worktree()Eric Sunshine-3/+0
2020-07-31worktree: drop pointless strbuf_release()Eric Sunshine-2/+0
2020-07-06Merge branch 'es/worktree-code-cleanup'Junio C Hamano-3/+3
2020-07-06Merge branch 'es/get-worktrees-unsort'Junio C Hamano-17/+3
2020-06-24worktree: avoid dead-code in conditionalEric Sunshine-3/+3
2020-06-22worktree: drop get_worktrees() unused 'flags' argumentEric Sunshine-3/+3
2020-06-22worktree: drop get_worktrees() special-purpose sorting optionEric Sunshine-14/+0
2020-03-26Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano-6/+4
2020-03-10real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy-2/+5
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy-1/+4
2020-03-05Merge branch 'hv/receive-denycurrent-everywhere'Junio C Hamano-0/+1
2020-03-05Merge branch 'es/worktree-avoid-duplication-fix'Junio C Hamano-6/+10
2020-02-24worktree: add utility to find worktree by pathnameEric Sunshine-6/+10
2020-02-24worktree: drop unused code from get_main_worktree()Eric Sunshine-4/+0
2020-02-24get_main_worktree(): allow it to be called in the Git directoryHariom Verma-0/+1
2020-02-24worktree: allow repository version 1brian m. carlson-6/+4
2019-06-13Merge branch 'nd/corrupt-worktrees'Junio C Hamano-2/+5
2019-05-15worktree add: be tolerant of corrupt worktreesNguyễn Thái Ngọc Duy-2/+5
2019-05-09Merge branch 'jt/submodule-repo-is-with-worktree'Junio C Hamano-4/+10
2019-04-21worktree: update is_bare heuristicsJonathan Tan-4/+10
2019-03-01setup: fix memory leaks with `struct repository_format`Martin Ågren-1/+3
2018-11-13Merge branch 'nd/per-worktree-ref-iteration'Junio C Hamano-3/+76
2018-10-31worktree: rename is_worktree_locked to worktree_lock_reasonNickolai Belakovski-1/+1
2018-10-22revision.c: better error reporting on ref from different worktreesNguyễn Thái Ngọc Duy-3/+46
2018-10-22refs: new ref types to make per-worktree refs visible to all worktreesNguyễn Thái Ngọc Duy-0/+30
2018-08-30worktree: don't die() in library function find_worktree()Eric Sunshine-1/+5
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin-1/+1
2018-02-12worktree remove: allow it when $GIT_WORK_TREE is already goneNguyễn Thái Ngọc Duy-1/+8