100 Commits (8102570374a87c032bff2d7114c67390f55f9a1b)

Author SHA1 Message Date
René Scharfe ca56dadb4b use CALLOC_ARRAY 4 years ago
Rafael Silva eb36135af7 worktree: teach worktree_lock_reason() to gently handle main worktree 4 years ago
Rafael Silva fc0c7d5e9e worktree: teach worktree to lazy-load "prunable" reason 4 years ago
Rafael Silva a29a8b7574 worktree: libify should_prune_worktree() 4 years ago
Eric Sunshine cf76baea41 worktree: teach `repair` to fix multi-directional breakage 4 years ago
Martin Ågren a46d1f7321 worktree: use skip_prefix to parse target 4 years ago
Martin Ågren fb07bd4297 worktree: rename copy-pasted variable 4 years ago
Martin Ågren cfaf9f05c6 worktree: update renamed variable in comment 4 years ago
Martin Ågren ef2d5547fa worktree: inline `worktree_ref()` into its only caller 4 years ago
Martin Ågren 962dd7ebc3 wt-status: introduce wt_status_state_free_buffers() 4 years ago
Eric Sunshine b214ab5aa5 worktree: teach "repair" to fix outgoing links to worktrees 5 years ago
Eric Sunshine bdd1f3e4da worktree: teach "repair" to fix worktree back-links to main worktree 5 years ago
Eric Sunshine 918d8ff780 worktree: retire special-case normalization of main worktree path 5 years ago
Eric Sunshine 1c4854ec73 worktree: drop bogus and unnecessary path munging 5 years ago
Eric Sunshine 246756f775 worktree: drop unused code from get_linked_worktree() 5 years ago
Eric Sunshine 62573a57f0 worktree: drop pointless strbuf_release() 5 years ago
Eric Sunshine 5f4ee57ad9 worktree: avoid dead-code in conditional 5 years ago
Eric Sunshine 03f2465bb1 worktree: drop get_worktrees() unused 'flags' argument 5 years ago
Eric Sunshine d9c54c2bbf worktree: drop get_worktrees() special-purpose sorting option 5 years ago
Alexandr Miloslavskiy 4530a85b4c real_path_if_valid(): remove unsafe API 5 years ago
Alexandr Miloslavskiy 3d7747e318 real_path: remove unsafe API 5 years ago
Eric Sunshine bb4995fc3f worktree: add utility to find worktree by pathname 5 years ago
Eric Sunshine 02bbbe9df9 worktree: drop unused code from get_main_worktree() 5 years ago
Hariom Verma 45f274fbb1 get_main_worktree(): allow it to be called in the Git directory 5 years ago
brian m. carlson e02a7141f8 worktree: allow repository version 1 5 years ago
Nguyễn Thái Ngọc Duy 105df73e71 worktree add: be tolerant of corrupt worktrees 6 years ago
Jonathan Tan f3534c98e4 worktree: update is_bare heuristics 6 years ago
Martin Ågren e8805af1c3 setup: fix memory leaks with `struct repository_format` 6 years ago
Nickolai Belakovski d236f12bde worktree: rename is_worktree_locked to worktree_lock_reason 6 years ago
Nguyễn Thái Ngọc Duy ab3e1f78ae revision.c: better error reporting on ref from different worktrees 6 years ago
Nguyễn Thái Ngọc Duy 3a3b9d8cde refs: new ref types to make per-worktree refs visible to all worktrees 6 years ago
Eric Sunshine 4c5fa9e6c4 worktree: don't die() in library function find_worktree() 7 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Nguyễn Thái Ngọc Duy ee6763af0a worktree remove: allow it when $GIT_WORK_TREE is already gone 7 years ago
Nguyễn Thái Ngọc Duy 9c620fc7a6 worktree.c: add update_worktree_location() 7 years ago
Nguyễn Thái Ngọc Duy 4ddddc1f1d worktree.c: add validate_worktree() 7 years ago
Jeff King dbd2b55cb7 worktree: handle broken symrefs in find_shared_symref() 7 years ago
brian m. carlson 49e61479be refs: convert resolve_ref_unsafe to struct object_id 7 years ago
brian m. carlson 0f05154c70 worktree: convert struct worktree to object_id 7 years ago
René Scharfe e691b027b6 refs: pass NULL to refs_resolve_ref_unsafe() if hash is not needed 7 years ago
Nguyễn Thái Ngọc Duy d0c39a49cc revision.c: --all adds HEAD from all worktrees 8 years ago
Nguyễn Thái Ngọc Duy 31824d180d branch: fix branch renaming not updating HEADs correctly 8 years ago
Brandon Williams b337172c83 path: convert strbuf_git_common_path to take a 'struct repository' 8 years ago
Johannes Schindelin d32de66a07 submodule_uses_worktrees(): plug memory leak 8 years ago
Nguyễn Thái Ngọc Duy fa099d2322 worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe() 8 years ago
Jeff King e4da43b1f0 prefix_filename: return newly allocated string 8 years ago
Jeff King 116fb64e43 prefix_filename: drop length parameter 8 years ago
Johannes Schindelin ce83eadd9a real_pathdup(): fix callsites that wanted it to die on error 8 years ago
René Scharfe 3f64699ffd cocci: use ALLOC_ARRAY 8 years ago
René Scharfe 0aaad415bc use absolute_pathdup() 8 years ago