summaryrefslogtreecommitdiff
path: root/worktree.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | real_path: remove unsafe APIAlexandr Miloslavskiy2020-03-101-1/+4
| |/ |/|
* | Merge branch 'hv/receive-denycurrent-everywhere'Junio C Hamano2020-03-051-0/+1
|\ \
| * | get_main_worktree(): allow it to be called in the Git directoryHariom Verma2020-02-241-0/+1
| |/
* | Merge branch 'es/worktree-avoid-duplication-fix'Junio C Hamano2020-03-051-6/+10
|\ \
| * | worktree: add utility to find worktree by pathnameEric Sunshine2020-02-241-6/+10
| |/
* | worktree: drop unused code from get_main_worktree()Eric Sunshine2020-02-241-4/+0
|/
* Merge branch 'nd/corrupt-worktrees'Junio C Hamano2019-06-131-2/+5
|\
| * worktree add: be tolerant of corrupt worktreesNguyễn Thái Ngọc Duy2019-05-151-2/+5
* | Merge branch 'jt/submodule-repo-is-with-worktree'Junio C Hamano2019-05-091-4/+10
|\ \
| * | worktree: update is_bare heuristicsJonathan Tan2019-04-211-4/+10
| |/
* | setup: fix memory leaks with `struct repository_format`Martin Ågren2019-03-011-1/+3
|/
* Merge branch 'nd/per-worktree-ref-iteration'Junio C Hamano2018-11-131-3/+76
|\
| * revision.c: better error reporting on ref from different worktreesNguyễn Thái Ngọc Duy2018-10-221-3/+46
| * refs: new ref types to make per-worktree refs visible to all worktreesNguyễn Thái Ngọc Duy2018-10-221-0/+30
* | worktree: rename is_worktree_locked to worktree_lock_reasonNickolai Belakovski2018-10-311-1/+1
|/
* worktree: don't die() in library function find_worktree()Eric Sunshine2018-08-301-1/+5
* Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin2018-05-061-1/+1
* worktree remove: allow it when $GIT_WORK_TREE is already goneNguyễn Thái Ngọc Duy2018-02-121-1/+8
* worktree.c: add update_worktree_location()Nguyễn Thái Ngọc Duy2018-02-121-0/+17
* worktree.c: add validate_worktree()Nguyễn Thái Ngọc Duy2018-01-241-0/+72
* Merge branch 'bc/object-id'Junio C Hamano2017-11-061-1/+1
|\
| * refs: convert resolve_ref_unsafe to struct object_idbrian m. carlson2017-10-161-1/+1
| * worktree: convert struct worktree to object_idbrian m. carlson2017-10-161-1/+1
* | worktree: handle broken symrefs in find_shared_symref()jk/misc-resolve-ref-unsafe-fixesJeff King2017-10-211-1/+2
|/
* refs: pass NULL to refs_resolve_ref_unsafe() if hash is not neededRené Scharfe2017-09-241-2/+1