index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
worktree.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-15
config: add --comment option to add a comment
Ralph Seichter
1
-2
/
+2
2024-01-26
Merge branch 'ps/worktree-refdb-initialization'
Junio C Hamano
1
-11
/
+16
2024-01-16
Merge branch 'ps/refstorage-extension'
Junio C Hamano
1
-8
/
+23
2024-01-08
worktree: expose interface to look up worktree by name
Patrick Steinhardt
1
-11
/
+16
2024-01-02
Merge branch 'rj/status-bisect-while-rebase'
Junio C Hamano
1
-2
/
+2
2024-01-02
worktree: skip reading HEAD when repairing worktrees
Patrick Steinhardt
1
-8
/
+23
2023-10-16
status: fix branch shown when not only bisecting
Rubén Justo
1
-2
/
+2
2023-08-29
worktree: mark unused parameters in noop repair callback
Jeff King
1
-2
/
+4
2023-07-17
Merge branch 'cw/compat-util-header-cleanup'
Junio C Hamano
1
-2
/
+0
2023-07-06
Merge branch 'gc/config-context'
Junio C Hamano
1
-1
/
+1
2023-07-05
git-compat-util: move alloc macros to git-compat-util.h
Calvin Wan
1
-1
/
+0
2023-07-05
treewide: remove unnecessary includes for wrapper.h
Calvin Wan
1
-1
/
+0
2023-06-28
config: pass kvi to die_bad_number()
Glen Choo
1
-1
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-05-26
repository: move 'repository_format_worktree_config' to repo scope
Victoria Dye
1
-2
/
+2
2023-03-21
treewide: remove cache.h inclusion due to setup.h changes
Elijah Newren
1
-1
/
+1
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
environment.h: move declarations for environment.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
wrapper.h: move declarations for wrapper.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
abspath.h: move absolute path functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: remove unnecessary cache.h inclusion from a few headers
Elijah Newren
1
-1
/
+1
2023-03-19
Merge branch 'rj/avoid-switching-to-already-used-branch'
Junio C Hamano
1
-32
/
+31
2023-02-25
branch: fix die_if_checked_out() when ignore_current_worktree
Rubén Justo
1
-2
/
+1
2023-02-25
worktree: introduce is_shared_symref()
Rubén Justo
1
-31
/
+31
2023-02-23
alloc.h: move ALLOC_GROW() functions from cache.h
Elijah Newren
1
-1
/
+2
2022-09-19
refs: unify parse_worktree_ref() and ref_type()
Han-Wen Nienhuys
1
-52
/
+7
2022-05-20
Merge branch 'ep/maint-equals-null-cocci'
Junio C Hamano
1
-1
/
+1
2022-05-02
Merge branch 'ep/maint-equals-null-cocci' for maint-2.35
Junio C Hamano
1
-1
/
+1
2022-05-02
tree-wide: apply equals-null.cocci
Junio C Hamano
1
-1
/
+1
2022-02-25
Merge branch 'ds/sparse-checkout-requires-per-worktree-config'
Junio C Hamano
1
-0
/
+73
2022-02-08
worktree: create init_worktree_config()
Derrick Stolee
1
-0
/
+73
2022-01-26
refs API: remove "failure_errno" from refs_resolve_ref_unsafe()
Ævar Arnfjörð Bjarmason
1
-8
/
+3
2021-12-01
worktree: simplify find_shared_symref() memory ownership model
Anders Kaseorg
1
-6
/
+2
2021-10-16
refs API: post-migration API renaming [2/2]
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2021-10-16
refs API: ignore errno in worktree.c's find_shared_symref()
Ævar Arnfjörð Bjarmason
1
-2
/
+4
2021-10-16
refs API: ignore errno in worktree.c's add_head_info()
Ævar Arnfjörð Bjarmason
1
-2
/
+4
2021-10-16
refs API: remove refs_read_ref_full() wrapper
Ævar Arnfjörð Bjarmason
1
-4
/
+5
2021-07-13
*.c static functions: add missing __attribute__((format))
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2021-05-13
dir: introduce readdir_skip_dot_and_dotdot() helper
Elijah Newren
1
-9
/
+3
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-2
/
+2
2021-01-30
worktree: teach worktree_lock_reason() to gently handle main worktree
Rafael Silva
1
-1
/
+2
2021-01-30
worktree: teach worktree to lazy-load "prunable" reason
Rafael Silva
1
-0
/
+20
2021-01-30
worktree: libify should_prune_worktree()
Rafael Silva
1
-0
/
+68
2020-12-21
worktree: teach `repair` to fix multi-directional breakage
Eric Sunshine
1
-0
/
+41
2020-10-05
Merge branch 'ma/worktree-cleanups'
Junio C Hamano
1
-26
/
+20
2020-09-27
worktree: use skip_prefix to parse target
Martin Ågren
1
-7
/
+7
2020-09-27
worktree: rename copy-pasted variable
Martin Ågren
1
-6
/
+6
2020-09-27
worktree: update renamed variable in comment
Martin Ågren
1
-1
/
+1
2020-09-27
worktree: inline `worktree_ref()` into its only caller
Martin Ågren
1
-11
/
+6
2020-09-27
wt-status: introduce wt_status_state_free_buffers()
Martin Ågren
1
-3
/
+2
2020-08-31
worktree: teach "repair" to fix outgoing links to worktrees
Eric Sunshine
1
-0
/
+74
2020-08-31
worktree: teach "repair" to fix worktree back-links to main worktree
Eric Sunshine
1
-0
/
+61
2020-07-31
worktree: retire special-case normalization of main worktree path
Eric Sunshine
1
-4
/
+2
2020-07-31
worktree: drop bogus and unnecessary path munging
Eric Sunshine
1
-6
/
+1
2020-07-31
worktree: drop unused code from get_linked_worktree()
Eric Sunshine
1
-3
/
+0
2020-07-31
worktree: drop pointless strbuf_release()
Eric Sunshine
1
-2
/
+0
2020-07-06
Merge branch 'es/worktree-code-cleanup'
Junio C Hamano
1
-3
/
+3
2020-07-06
Merge branch 'es/get-worktrees-unsort'
Junio C Hamano
1
-17
/
+3
2020-06-24
worktree: avoid dead-code in conditional
Eric Sunshine
1
-3
/
+3
2020-06-22
worktree: drop get_worktrees() unused 'flags' argument
Eric Sunshine
1
-3
/
+3
2020-06-22
worktree: drop get_worktrees() special-purpose sorting option
Eric Sunshine
1
-14
/
+0
2020-03-26
Merge branch 'bc/sha-256-part-1-of-4'
Junio C Hamano
1
-6
/
+4
2020-03-10
real_path_if_valid(): remove unsafe API
Alexandr Miloslavskiy
1
-2
/
+5
2020-03-10
real_path: remove unsafe API
Alexandr Miloslavskiy
1
-1
/
+4
2020-03-05
Merge branch 'hv/receive-denycurrent-everywhere'
Junio C Hamano
1
-0
/
+1
2020-03-05
Merge branch 'es/worktree-avoid-duplication-fix'
Junio C Hamano
1
-6
/
+10
2020-02-24
worktree: add utility to find worktree by pathname
Eric Sunshine
1
-6
/
+10
2020-02-24
worktree: drop unused code from get_main_worktree()
Eric Sunshine
1
-4
/
+0
2020-02-24
get_main_worktree(): allow it to be called in the Git directory
Hariom Verma
1
-0
/
+1
2020-02-24
worktree: allow repository version 1
brian m. carlson
1
-6
/
+4
2019-06-13
Merge branch 'nd/corrupt-worktrees'
Junio C Hamano
1
-2
/
+5
2019-05-15
worktree add: be tolerant of corrupt worktrees
Nguyễn Thái Ngọc Duy
1
-2
/
+5
2019-05-09
Merge branch 'jt/submodule-repo-is-with-worktree'
Junio C Hamano
1
-4
/
+10
2019-04-21
worktree: update is_bare heuristics
Jonathan Tan
1
-4
/
+10
2019-03-01
setup: fix memory leaks with `struct repository_format`
Martin Ågren
1
-1
/
+3
2018-11-13
Merge branch 'nd/per-worktree-ref-iteration'
Junio C Hamano
1
-3
/
+76
2018-10-31
worktree: rename is_worktree_locked to worktree_lock_reason
Nickolai Belakovski
1
-1
/
+1
2018-10-22
revision.c: better error reporting on ref from different worktrees
Nguyễn Thái Ngọc Duy
1
-3
/
+46
2018-10-22
refs: new ref types to make per-worktree refs visible to all worktrees
Nguyễn Thái Ngọc Duy
1
-0
/
+30
2018-08-30
worktree: don't die() in library function find_worktree()
Eric Sunshine
1
-1
/
+5
2018-05-06
Replace all die("BUG: ...") calls by BUG() ones
Johannes Schindelin
1
-1
/
+1
2018-02-12
worktree remove: allow it when $GIT_WORK_TREE is already gone
Nguyễn Thái Ngọc Duy
1
-1
/
+8
2018-02-12
worktree.c: add update_worktree_location()
Nguyễn Thái Ngọc Duy
1
-0
/
+17
2018-01-24
worktree.c: add validate_worktree()
Nguyễn Thái Ngọc Duy
1
-0
/
+72
2017-11-06
Merge branch 'bc/object-id'
Junio C Hamano
1
-1
/
+1
2017-10-21
worktree: handle broken symrefs in find_shared_symref()
Jeff King
1
-1
/
+2
2017-10-16
refs: convert resolve_ref_unsafe to struct object_id
brian m. carlson
1
-1
/
+1
2017-10-16
worktree: convert struct worktree to object_id
brian m. carlson
1
-1
/
+1
2017-09-24
refs: pass NULL to refs_resolve_ref_unsafe() if hash is not needed
René Scharfe
1
-2
/
+1
2017-09-19
Merge branch 'nd/prune-in-worktree'
Junio C Hamano
1
-0
/
+22
2017-09-10
Merge branch 'nd/worktree-kill-parse-ref'
Junio C Hamano
1
-1
/
+1
2017-08-24
revision.c: --all adds HEAD from all worktrees
Nguyễn Thái Ngọc Duy
1
-0
/
+22
2017-08-24
branch: fix branch renaming not updating HEADs correctly
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2017-06-23
path: convert strbuf_git_common_path to take a 'struct repository'
Brandon Williams
1
-1
/
+2
2017-05-29
Merge branch 'js/plug-leaks'
Junio C Hamano
1
-1
/
+1
2017-05-16
Merge branch 'nd/worktree-kill-parse-ref'
Junio C Hamano
1
-75
/
+27
2017-05-08
submodule_uses_worktrees(): plug memory leak
Johannes Schindelin
1
-1
/
+1
2017-04-24
worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe()
Nguyễn Thái Ngọc Duy
1
-75
/
+27
2017-03-21
prefix_filename: return newly allocated string
Jeff King
1
-1
/
+4
2017-03-21
prefix_filename: drop length parameter
Jeff King
1
-1
/
+1
2017-03-12
Merge branch 'js/realpath-pathdup-fix'
Junio C Hamano
1
-1
/
+1
2017-03-10
Merge branch 'rs/strbuf-add-real-path'
Junio C Hamano
1
-1
/
+1
2017-03-08
real_pathdup(): fix callsites that wanted it to die on error
Johannes Schindelin
1
-1
/
+1
2017-02-27
cocci: use ALLOC_ARRAY
René Scharfe
1
-1
/
+1
2017-02-02
Merge branch 'rs/absolute-pathdup'
Junio C Hamano
1
-1
/
+1
2017-01-27
use absolute_pathdup()
René Scharfe
1
-1
/
+1
2017-01-18
Merge branch 'bw/grep-recurse-submodules'
Junio C Hamano
1
-1
/
+1
2016-12-27
worktree: initialize return value for submodule_uses_worktrees
Stefan Beller
1
-1
/
+1
2016-12-12
real_path: have callers use real_pathdup and strbuf_realpath
Brandon Williams
1
-1
/
+1
2016-12-12
worktree: check if a submodule uses worktrees
Stefan Beller
1
-0
/
+50
2016-11-28
worktree list: keep the list sorted
Nguyễn Thái Ngọc Duy
1
-0
/
+14
2016-11-28
worktree.c: get_worktrees() takes a new flag argument
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2016-11-28
get_worktrees() must return main worktree as first item even on error
Nguyễn Thái Ngọc Duy
1
-7
/
+3
2016-11-23
worktree.c: zero new 'struct worktree' on allocation
Nguyễn Thái Ngọc Duy
1
-12
/
+2
2016-10-14
worktree: allow the main brach of a bare repository to be checked out
Dennis Kaarsemaker
1
-0
/
+2
2016-07-28
Merge branch 'nd/worktree-lock'
Junio C Hamano
1
-0
/
+77
2016-07-25
Merge branch 'rs/worktree-use-strbuf-absolute-path'
Junio C Hamano
1
-2
/
+2
2016-07-12
worktree: use strbuf_add_absolute_path() directly
René Scharfe
1
-2
/
+2
2016-07-08
worktree.c: find_worktree() search by path suffix
Nguyễn Thái Ngọc Duy
1
-0
/
+29
2016-07-06
Merge branch 'nd/worktree-cleanup-post-head-protection'
Junio C Hamano
1
-10
/
+8
2016-06-13
worktree.c: add is_worktree_locked()
Nguyễn Thái Ngọc Duy
1
-0
/
+28
2016-06-03
worktree.c: add is_main_worktree()
Nguyễn Thái Ngọc Duy
1
-0
/
+5
2016-06-03
worktree.c: add find_worktree()
Nguyễn Thái Ngọc Duy
1
-0
/
+15
2016-05-24
worktree.c: use is_dot_or_dotdot()
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2016-05-24
worktree.c: rewrite mark_current_worktree() to avoid strbuf
Nguyễn Thái Ngọc Duy
1
-9
/
+7
2016-05-23
Merge branch 'nd/worktree-various-heads'
Junio C Hamano
1
-18
/
+104
2016-05-06
typofix: assorted typofixes in comments, documentation and messages
Li Peng
1
-1
/
+1
2016-04-22
branch: do not rename a branch under bisect or rebase
Nguyễn Thái Ngọc Duy
1
-4
/
+4
2016-04-22
worktree.c: check whether branch is bisected in another worktree
Nguyễn Thái Ngọc Duy
1
-0
/
+19
2016-04-22
worktree.c: check whether branch is rebased in another worktree
Nguyễn Thái Ngọc Duy
1
-0
/
+32
2016-04-22
worktree.c: avoid referencing to worktrees[i] multiple times
Nguyễn Thái Ngọc Duy
1
-2
/
+4
2016-04-22
worktree.c: mark current worktree
Nguyễn Thái Ngọc Duy
1
-0
/
+24
2016-04-22
worktree.c: make find_shared_symref() return struct worktree *
Nguyễn Thái Ngọc Duy
1
-5
/
+9
2016-04-22
worktree.c: store "id" instead of "git_dir"
Nguyễn Thái Ngọc Duy
1
-13
/
+18
2016-01-19
worktree.c: fix indentation
Nguyễn Thái Ngọc Duy
1
-4
/
+4
2015-10-08
worktree: add details to the worktree struct
Michael Rappazzo
1
-11
/
+44
2015-10-08
worktree: add a function to get worktree details
Michael Rappazzo
1
-46
/
+108
2015-10-08
worktree: refactor find_linked_symref function
Michael Rappazzo
1
-27
/
+69
2015-10-02
worktree: add top-level worktree.c
Michael Rappazzo
1
-0
/
+82