Commit Graph

113 Commits (master)

Author SHA1 Message Date
Junio C Hamano afe8a9070b tree-wide: apply equals-null.cocci 5 months ago
Derrick Stolee 615a84ad78 worktree: create init_worktree_config() 8 months ago
Ævar Arnfjörð Bjarmason ce14de03db refs API: remove "failure_errno" from refs_resolve_ref_unsafe() 8 months ago
Anders Kaseorg c8dd491fa5 worktree: simplify find_shared_symref() memory ownership model 10 months ago
Ævar Arnfjörð Bjarmason f1da24ca5e refs API: post-migration API renaming [2/2] 12 months ago
Ævar Arnfjörð Bjarmason 0506eb71f7 refs API: ignore errno in worktree.c's find_shared_symref() 12 months ago
Ævar Arnfjörð Bjarmason ccf3cc1b18 refs API: ignore errno in worktree.c's add_head_info() 12 months ago
Ævar Arnfjörð Bjarmason 76887df014 refs API: remove refs_read_ref_full() wrapper 12 months ago
Ævar Arnfjörð Bjarmason 48ca53cac4 *.c static functions: add missing __attribute__((format)) 1 year ago
Elijah Newren 906fc557b7 dir: introduce readdir_skip_dot_and_dotdot() helper 1 year ago
Junio C Hamano 1df046bcff Revert "dir: introduce readdir_skip_dot_and_dotdot() helper" 1 year ago
Elijah Newren b548f0f156 dir: introduce readdir_skip_dot_and_dotdot() helper 1 year ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 2 years ago
Rafael Silva eb36135af7 worktree: teach worktree_lock_reason() to gently handle main worktree 2 years ago
Rafael Silva fc0c7d5e9e worktree: teach worktree to lazy-load "prunable" reason 2 years ago
Rafael Silva a29a8b7574 worktree: libify should_prune_worktree() 2 years ago
Eric Sunshine cf76baea41 worktree: teach `repair` to fix multi-directional breakage 2 years ago
Martin Ågren a46d1f7321 worktree: use skip_prefix to parse target 2 years ago
Martin Ågren fb07bd4297 worktree: rename copy-pasted variable 2 years ago
Martin Ågren cfaf9f05c6 worktree: update renamed variable in comment 2 years ago
Martin Ågren ef2d5547fa worktree: inline `worktree_ref()` into its only caller 2 years ago
Martin Ågren 962dd7ebc3 wt-status: introduce wt_status_state_free_buffers() 2 years ago
Eric Sunshine b214ab5aa5 worktree: teach "repair" to fix outgoing links to worktrees 2 years ago
Eric Sunshine bdd1f3e4da worktree: teach "repair" to fix worktree back-links to main worktree 2 years ago
Eric Sunshine 918d8ff780 worktree: retire special-case normalization of main worktree path 2 years ago
Eric Sunshine 1c4854ec73 worktree: drop bogus and unnecessary path munging 2 years ago
Eric Sunshine 246756f775 worktree: drop unused code from get_linked_worktree() 2 years ago
Eric Sunshine 62573a57f0 worktree: drop pointless strbuf_release() 2 years ago
Eric Sunshine 5f4ee57ad9 worktree: avoid dead-code in conditional 2 years ago
Eric Sunshine 03f2465bb1 worktree: drop get_worktrees() unused 'flags' argument 2 years ago
Eric Sunshine d9c54c2bbf worktree: drop get_worktrees() special-purpose sorting option 2 years ago
Alexandr Miloslavskiy 4530a85b4c real_path_if_valid(): remove unsafe API 3 years ago
Alexandr Miloslavskiy 3d7747e318 real_path: remove unsafe API 3 years ago
Eric Sunshine bb4995fc3f worktree: add utility to find worktree by pathname 3 years ago
Eric Sunshine 02bbbe9df9 worktree: drop unused code from get_main_worktree() 3 years ago
Hariom Verma 45f274fbb1 get_main_worktree(): allow it to be called in the Git directory 3 years ago
brian m. carlson e02a7141f8 worktree: allow repository version 1 3 years ago
Nguyễn Thái Ngọc Duy 105df73e71 worktree add: be tolerant of corrupt worktrees 3 years ago
Jonathan Tan f3534c98e4 worktree: update is_bare heuristics 4 years ago
Martin Ågren e8805af1c3 setup: fix memory leaks with `struct repository_format` 4 years ago
Nickolai Belakovski d236f12bde worktree: rename is_worktree_locked to worktree_lock_reason 4 years ago
Nguyễn Thái Ngọc Duy ab3e1f78ae revision.c: better error reporting on ref from different worktrees 4 years ago
Nguyễn Thái Ngọc Duy 3a3b9d8cde refs: new ref types to make per-worktree refs visible to all worktrees 4 years ago
Eric Sunshine 4c5fa9e6c4 worktree: don't die() in library function find_worktree() 4 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 4 years ago
Nguyễn Thái Ngọc Duy ee6763af0a worktree remove: allow it when $GIT_WORK_TREE is already gone 5 years ago
Nguyễn Thái Ngọc Duy 9c620fc7a6 worktree.c: add update_worktree_location() 5 years ago
Nguyễn Thái Ngọc Duy 4ddddc1f1d worktree.c: add validate_worktree() 5 years ago
Jeff King dbd2b55cb7 worktree: handle broken symrefs in find_shared_symref() 5 years ago
brian m. carlson 49e61479be refs: convert resolve_ref_unsafe to struct object_id 5 years ago