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
/
builtin
/
worktree.c
Age
Commit message (
Expand
)
Author
Files
Lines
13 days
cocci: apply rules to rewrite callers of "refs" interfaces
Patrick Steinhardt
1
-8
/
+11
2024-04-05
Merge branch 'jk/core-comment-string'
Junio C Hamano
1
-1
/
+1
2024-03-15
config: add --comment option to add a comment
Ralph Seichter
1
-2
/
+2
2024-03-12
strbuf: accept a comment string for strbuf_stripspace()
Jeff King
1
-1
/
+1
2024-02-06
Merge branch 'jc/comment-style-fixes'
Junio C Hamano
1
-5
/
+5
2024-01-29
builtin/worktree: comment style fixes
Junio C Hamano
1
-5
/
+5
2024-01-26
Merge branch 'ps/worktree-refdb-initialization'
Junio C Hamano
1
-28
/
+25
2024-01-08
builtin/worktree: create refdb via ref backend
Patrick Steinhardt
1
-26
/
+22
2024-01-08
builtin/worktree: move setup of commondir file earlier
Patrick Steinhardt
1
-3
/
+4
2024-01-02
Merge branch 'jc/orphan-unborn'
Junio C Hamano
1
-3
/
+3
2023-12-09
worktree: simplify incompatibility message for --orphan and commit-ish
René Scharfe
1
-2
/
+2
2023-12-09
worktree: standardize incompatibility messages
René Scharfe
1
-8
/
+9
2023-11-24
orphan/unborn: fix use of 'orphan' in end-user facing messages
Junio C Hamano
1
-3
/
+3
2023-08-29
worktree: mark unused parameters in each_ref_fn callback
Jeff King
1
-4
/
+4
2023-08-25
Merge branch 'ja/worktree-orphan'
Junio C Hamano
1
-1
/
+1
2023-08-13
builtin/worktree.c: fix typo in "forgot fetch" msg
Jacob Abel
1
-1
/
+1
2023-08-04
Merge branch 'ja/worktree-orphan-fix'
Junio C Hamano
1
-2
/
+2
2023-07-26
builtin/worktree.c: convert tab in advice to space
Jacob Abel
1
-2
/
+2
2023-07-17
Merge branch 'cw/compat-util-header-cleanup'
Junio C Hamano
1
-1
/
+0
2023-07-06
Merge branch 'gc/config-context'
Junio C Hamano
1
-2
/
+3
2023-07-05
treewide: remove unnecessary includes for wrapper.h
Calvin Wan
1
-1
/
+0
2023-06-29
Merge branch 'en/header-split-cache-h-part-3'
Junio C Hamano
1
-2
/
+3
2023-06-28
config: add ctx arg to config_fn_t
Glen Choo
1
-2
/
+3
2023-06-23
Merge branch 'sl/worktree-sparse'
Junio C Hamano
1
-0
/
+4
2023-06-22
Merge branch 'ja/worktree-orphan'
Junio C Hamano
1
-10
/
+217
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-2
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-06-12
worktree: integrate with sparse-index
Shuqi Liang
1
-0
/
+4
2023-05-26
repository: move 'repository_format_worktree_config' to repo scope
Victoria Dye
1
-1
/
+1
2023-05-17
worktree add: emit warn when there is a bad HEAD
Jacob Abel
1
-5
/
+29
2023-05-17
worktree add: extend DWIM to infer --orphan
Jacob Abel
1
-1
/
+113
2023-05-17
worktree add: introduce "try --orphan" hint
Jacob Abel
1
-0
/
+26
2023-05-17
worktree add: add --orphan flag
Jacob Abel
1
-11
/
+56
2023-05-17
worktree add: include -B in usage docs
Jacob Abel
1
-1
/
+1
2023-05-09
Merge branch 'en/header-split-cache-h-part-2'
Junio C Hamano
1
-0
/
+2
2023-04-25
Merge branch 'en/header-split-cache-h'
Junio C Hamano
1
-0
/
+2
2023-04-24
hash-ll.h: split out of hash.h to remove dependency on repository.h
Elijah Newren
1
-0
/
+1
2023-04-24
copy.h: move declarations for copy.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-file.h: move declarations for object-file.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
object-name.h: move declarations for object-name.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-06
Merge branch 'en/header-split-cleanup'
Junio C Hamano
1
-0
/
+4
2023-04-06
Merge branch 'ab/remove-implicit-use-of-the-repository'
Junio C Hamano
1
-4
/
+4
2023-04-06
Merge branch 'ab/config-multi-and-nonbool'
Junio C Hamano
1
-2
/
+1
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-4
/
+4
2023-03-28
config API: add and use a "git_config_get()" family of functions
Ævar Arnfjörð Bjarmason
1
-2
/
+1
2023-03-28
cocci: apply the "cache.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
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-02-23
cache.h: remove dependence on hex.h; make other files include it explicitly
Elijah Newren
1
-0
/
+1
2023-02-06
worktree: fix a trivial leak in prune_worktrees()
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2023-01-17
treewide: always have a valid "index_state.repo" member
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2023-01-16
cache API: add a "INDEX_STATE_INIT" macro/function, add release_index()
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-11-21
built-ins: use free() not UNLEAK() if trivial, rm dead code
Ævar Arnfjörð Bjarmason
1
-3
/
+4
2022-10-13
doc txt & -h consistency: make "worktree" consistent
Ævar Arnfjörð Bjarmason
1
-5
/
+6
2022-10-13
worktree: define subcommand -h in terms of command -h
Ævar Arnfjörð Bjarmason
1
-25
/
+84
2022-10-13
doc txt & -h consistency: fix mismatching labels
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-08-19
builtin/worktree.c: let parse-options parse subcommands
SZEDER Gábor
1
-19
/
+12
2022-06-02
run-command API: rename "env_array" to "env"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2022-04-04
Merge branch 'pw/worktree-list-with-z'
Junio C Hamano
1
-16
/
+24
2022-04-04
Merge branch 'dp/worktree-repair-in-usage'
Junio C Hamano
1
-0
/
+1
2022-03-31
worktree: add -z option for list subcommand
Phillip Wood
1
-16
/
+24
2022-03-29
worktree: include repair cmd in usage
Des Preston
1
-0
/
+1
2022-03-06
Merge branch 'ds/worktree-docs'
Junio C Hamano
1
-63
/
+75
2022-02-25
Merge branch 'ds/sparse-checkout-requires-per-worktree-config'
Junio C Hamano
1
-0
/
+63
2022-02-23
worktree: extract checkout_worktree()
Derrick Stolee
1
-11
/
+15
2022-02-23
worktree: extract copy_sparse_checkout()
Derrick Stolee
1
-15
/
+18
2022-02-23
worktree: extract copy_filtered_worktree_config()
Derrick Stolee
1
-39
/
+42
2022-02-23
worktree: combine two translatable messages
Derrick Stolee
1
-2
/
+4
2022-02-09
Merge branch 'ab/config-based-hooks-2'
Junio C Hamano
1
-15
/
+11
2022-02-08
worktree: copy sparse-checkout patterns and config on add
Derrick Stolee
1
-0
/
+63
2022-01-07
hooks: convert worktree 'post-checkout' hook to hook library
Emily Shaffer
1
-15
/
+11
2022-01-05
i18n: factorize "--foo requires --bar" and the like
Jean-Noël Avila
1
-1
/
+1
2022-01-05
i18n: refactor "%s, %s and %s are mutually exclusive"
Jean-Noël Avila
1
-1
/
+1
2022-01-05
i18n: refactor "foo and bar are mutually exclusive"
Jean-Noël Avila
1
-1
/
+1
2021-12-15
Merge branch 'es/worktree-chatty-to-stderr'
Junio C Hamano
1
-7
/
+7
2021-12-04
worktree: send "chatty" messages to stderr
Eric Sunshine
1
-7
/
+7
2021-11-25
run-command API: remove "env" member, always use "env_array"
Ævar Arnfjörð Bjarmason
1
-3
/
+3
2021-11-25
worktree: stop being overly intimate with run_command() internals
Eric Sunshine
1
-4
/
+3
2021-09-27
hook.[ch]: move find_hook() from run-command.c to hook.c
Ævar Arnfjörð Bjarmason
1
-0
/
+1
2021-07-15
worktree: teach `add` to accept --reason <string> with --lock
Stephen Manz
1
-5
/
+16
2021-07-14
worktree: mark lock strings with `_()` for translation
Stephen Manz
1
-2
/
+2
2021-05-20
Merge branch 'en/dir-traversal'
Junio C Hamano
1
-3
/
+1
2021-05-13
dir: introduce readdir_skip_dot_and_dotdot() helper
Elijah Newren
1
-3
/
+1
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-2
/
+2
2021-03-14
worktree: fix leak in dwim_branch()
Andrzej Hunt
1
-4
/
+6
2021-01-30
worktree: teach `list` verbose mode
Rafael Silva
1
-2
/
+12
2021-01-30
worktree: teach `list` to annotate prunable worktree
Rafael Silva
1
-0
/
+10
2021-01-30
worktree: teach `list --porcelain` to annotate locked worktree
Rafael Silva
1
-0
/
+13
2021-01-30
worktree: teach worktree_lock_reason() to gently handle main worktree
Rafael Silva
1
-1
/
+1
2021-01-30
worktree: libify should_prune_worktree()
Rafael Silva
1
-74
/
+1
2020-12-21
worktree: teach `repair` to fix multi-directional breakage
Eric Sunshine
1
-1
/
+1
2020-11-30
Merge branch 'mt/worktree-error-message-fix'
Junio C Hamano
1
-2
/
+2
2020-11-21
worktree: fix order of arguments in error message
Matheus Tavares
1
-2
/
+2
2020-10-12
worktree: teach `list` to annotate locked worktree
Rafael Silva
1
-1
/
+4
2020-09-18
Merge branch 'es/wt-add-detach'
Junio C Hamano
1
-1
/
+1
2020-09-09
Merge branch 'es/worktree-repair'
Junio C Hamano
1
-0
/
+30
2020-09-09
Merge branch 'jk/worktree-check-clean-leakfix'
Junio C Hamano
1
-5
/
+3
2020-09-06
worktree: teach `add` to recognize -d as shorthand for --detach
Eric Sunshine
1
-1
/
+1
2020-08-31
worktree: teach "repair" to fix outgoing links to worktrees
Eric Sunshine
1
-2
/
+5
2020-08-31
worktree: teach "repair" to fix worktree back-links to main worktree
Eric Sunshine
1
-0
/
+12
2020-08-27
worktree: add skeleton "repair" command
Eric Sunshine
1
-0
/
+15
2020-08-27
worktree: fix leak in check_clean_worktree()
Jeff King
1
-5
/
+3
2020-07-30
strvec: rename struct fields
Jeff King
1
-3
/
+3
2020-07-28
strvec: fix indentation in renamed calls
Jeff King
1
-9
/
+9
2020-07-28
strvec: convert builtin/ callers away from argv_array name
Jeff King
1
-21
/
+21
2020-07-28
strvec: rename files from argv-array to strvec
Jeff King
1
-1
/
+1
2020-07-06
Merge branch 'es/get-worktrees-unsort'
Junio C Hamano
1
-6
/
+26
2020-06-22
Merge branch 'es/worktree-duplicate-paths'
Junio C Hamano
1
-35
/
+93
2020-06-22
worktree: drop get_worktrees() unused 'flags' argument
Eric Sunshine
1
-6
/
+6
2020-06-22
worktree: drop get_worktrees() special-purpose sorting option
Eric Sunshine
1
-1
/
+21
2020-06-10
worktree: make "move" refuse to move atop missing registered worktree
Eric Sunshine
1
-2
/
+1
2020-06-10
worktree: generalize candidate worktree path validation
Eric Sunshine
1
-13
/
+16
2020-06-10
worktree: prune linked worktree referencing main worktree path
Eric Sunshine
1
-0
/
+15
2020-06-10
worktree: prune duplicate entries referencing same worktree path
Eric Sunshine
1
-6
/
+43
2020-06-10
worktree: make high-level pruning re-usable
Eric Sunshine
1
-6
/
+9
2020-06-10
worktree: give "should be pruned?" function more meaningful name
Eric Sunshine
1
-2
/
+2
2020-06-08
worktree: factor out repeated string literal
Eric Sunshine
1
-11
/
+12
2020-03-10
real_path: remove unsafe API
Alexandr Miloslavskiy
1
-3
/
+6
2020-02-24
worktree: don't allow "add" validation to be fooled by suffix matching
Eric Sunshine
1
-8
/
+1
2019-12-01
Merge branch 'pb/no-recursive-reset-hard-in-worktree-add'
Junio C Hamano
1
-1
/
+1
2019-10-30
worktree: teach "add" to ignore submodule.recurse config
Philippe Blain
1
-1
/
+1
2019-10-11
Merge branch 'rs/dedup-includes'
Junio C Hamano
1
-1
/
+0
2019-10-11
Merge branch 'bc/object-id-part17'
Junio C Hamano
1
-1
/
+1
2019-10-04
treewide: remove duplicate #include directives
René Scharfe
1
-1
/
+0
2019-08-19
builtin/worktree: switch null_sha1 to null_oid
brian m. carlson
1
-1
/
+1
2019-08-13
worktree remove: clarify error message on dirty worktree
SZEDER Gábor
1
-1
/
+1
2019-06-13
Merge branch 'nd/worktree-name-sanitization'
Junio C Hamano
1
-1
/
+9
2019-05-15
worktree add: sanitize worktree names
Nguyễn Thái Ngọc Duy
1
-1
/
+9
2019-04-10
Merge branch 'ms/worktree-add-atomic-mkdir'
Junio C Hamano
1
-5
/
+7
2019-03-12
worktree: fix worktree add race
Michal Suchanek
1
-5
/
+7
2019-02-22
trace2:data: add trace2 hook classification
Jeff Hostetler
1
-0
/
+1
2019-01-07
worktree: allow to (re)move worktrees with uninitialized submodules
Nguyễn Thái Ngọc Duy
1
-6
/
+23
2018-10-31
worktree: rename is_worktree_locked to worktree_lock_reason
Nickolai Belakovski
1
-5
/
+5
2018-08-30
worktree: delete .git/worktrees if empty after 'remove'
Eric Sunshine
1
-1
/
+7
2018-08-30
worktree: teach 'remove' to override lock when --force given twice
Eric Sunshine
1
-5
/
+6
2018-08-30
worktree: teach 'move' to override lock when --force given twice
Eric Sunshine
1
-4
/
+9
2018-08-30
worktree: teach 'add' to respect --force for registered but missing path
Eric Sunshine
1
-2
/
+8
2018-08-30
worktree: disallow adding same path multiple times
Eric Sunshine
1
-0
/
+25
2018-08-30
worktree: prepare for more checks of whether path can become worktree
Eric Sunshine
1
-2
/
+7
2018-08-30
worktree: generalize delete_git_dir() to reduce code duplication
Eric Sunshine
1
-16
/
+9
2018-08-30
worktree: move delete_git_dir() earlier in file for upcoming new callers
Eric Sunshine
1
-14
/
+14
2018-08-17
worktree: add --quiet option
Elia Pinto
1
-3
/
+13
2018-06-11
checkout: pass the "num_matches" up to callers
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2018-05-23
Merge branch 'tg/worktree-add-existing-branch'
Junio C Hamano
1
-27
/
+74
2018-05-08
Merge branch 'sb/worktree-remove-opt-force'
Junio C Hamano
1
-2
/
+3
2018-04-30
worktree: teach "add" to check out existing branches
Thomas Gummerer
1
-2
/
+11
2018-04-30
worktree: factor out dwim_branch function
Thomas Gummerer
1
-11
/
+18
2018-04-30
worktree: improve message when creating a new worktree
Thomas Gummerer
1
-2
/
+36
2018-04-30
worktree: remove extra members from struct add_opts
Thomas Gummerer
1
-17
/
+16
2018-04-18
worktree: accept -f as short for --force for removal
Stefan Beller
1
-2
/
+3
2018-04-10
Merge branch 'nd/worktree-prune'
Junio C Hamano
1
-9
/
+2
2018-04-10
Merge branch 'bc/object-id'
Junio C Hamano
1
-2
/
+2
2018-03-15
worktree prune: improve prune logic when worktree is moved
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2018-03-15
worktree: delete dead code
Nguyễn Thái Ngọc Duy
1
-8
/
+0
2018-03-14
Merge branch 'nd/parseopt-completion'
Junio C Hamano
1
-1
/
+3
2018-03-14
Merge branch 'nd/worktree-move'
Junio C Hamano
1
-0
/
+220
2018-03-14
Convert find_unique_abbrev* to struct object_id
brian m. carlson
1
-2
/
+2
2018-02-28
Merge branch 'es/worktree-add-post-checkout-hook'
Junio C Hamano
1
-3
/
+17
2018-02-15
Merge branch 'jc/worktree-add-short-help'
Junio C Hamano
1
-1
/
+1
2018-02-15
worktree: add: fix 'post-checkout' not knowing new worktree location
Eric Sunshine
1
-3
/
+17
2018-02-12
worktree remove: allow it when $GIT_WORK_TREE is already gone
Nguyễn Thái Ngọc Duy
1
-5
/
+7
2018-02-12
worktree remove: new command
Nguyễn Thái Ngọc Duy
1
-1
/
+133
2018-02-12
worktree move: refuse to move worktrees with submodules
Nguyễn Thái Ngọc Duy
1
-0
/
+23
2018-02-12
worktree move: accept destination as directory
Nguyễn Thái Ngọc Duy
1
-1
/
+10
2018-02-12
worktree move: new command
Nguyễn Thái Ngọc Duy
1
-0
/
+53
2018-02-09
completion: use __gitcomp_builtin in _git_worktree
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2018-02-09
parse-options: let OPT__FORCE take optional flags argument
Nguyễn Thái Ngọc Duy
1
-1
/
+3
2018-01-17
worktree: say that "add" takes an arbitrary commit in short-help
Junio C Hamano
1
-1
/
+1
2017-12-27
Merge branch 'es/worktree-checkout-hook'
Junio C Hamano
1
-6
/
+16
2017-12-07
worktree: invoke post-checkout hook (unless --no-checkout)
Eric Sunshine
1
-6
/
+16
2017-12-06
add worktree.guessRemote config option
Thomas Gummerer
1
-2
/
+12
2017-12-06
worktree: add --guess-remote flag to add subcommand
Thomas Gummerer
1
-0
/
+10
2017-11-27
worktree: make add <path> <branch> dwim
Thomas Gummerer
1
-0
/
+16
2017-11-27
worktree: add --[no-]track option to the add subcommand
Thomas Gummerer
1
-0
/
+8
2017-10-16
worktree: convert struct worktree to object_id
brian m. carlson
1
-3
/
+3
2017-09-27
worktree: check the result of read_in_full()
Jeff King
1
-1
/
+18
2017-09-27
worktree: use xsize_t to access file size
Jeff King
1
-2
/
+3
2017-09-08
add UNLEAK annotation for reducing leak false positives
Jeff King
1
-0
/
+2
2017-06-24
Merge branch 'ab/free-and-null'
Junio C Hamano
1
-4
/
+2
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-16
*.[ch] refactoring: make use of the FREE_AND_NULL() macro
Ævar Arnfjörð Bjarmason
1
-4
/
+2
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-05-29
Merge branch 'js/plug-leaks'
Junio C Hamano
1
-3
/
+5
2017-05-16
Merge branch 'js/larger-timestamps'
Junio C Hamano
1
-2
/
+2
2017-05-08
show_worktree(): plug memory leak
Johannes Schindelin
1
-3
/
+5
2017-04-27
timestamp_t: a new data type for timestamps
Johannes Schindelin
1
-2
/
+2
2017-04-26
Merge branch 'nd/worktree-add-lock'
Junio C Hamano
1
-4
/
+11
2017-04-26
Merge branch 'jk/war-on-git-path'
Junio C Hamano
1
-4
/
+2
2017-04-20
replace strbuf_addstr(git_path()) with git_path_buf()
Jeff King
1
-4
/
+2
2017-04-20
worktree add: add --lock option
Nguyễn Thái Ngọc Duy
1
-4
/
+11
2017-03-21
prefix_filename: return newly allocated string
Jeff King
1
-1
/
+2
2017-03-21
prefix_filename: drop length parameter
Jeff King
1
-1
/
+1
2017-02-10
Merge branch 'ps/worktree-prune-help-fix'
Junio C Hamano
1
-2
/
+2
2017-02-06
worktree: fix option descriptions for `prune`
Patrick Steinhardt
1
-2
/
+2
2016-11-28
worktree list: keep the list sorted
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2016-11-28
worktree.c: get_worktrees() takes a new flag argument
Nguyễn Thái Ngọc Duy
1
-3
/
+3
2016-11-28
get_worktrees() must return main worktree as first item even on error
Nguyễn Thái Ngọc Duy
1
-2
/
+4
[next]