74 Commits (ce16364e897e70a17bd1864b6007719eeec959f3)

Author SHA1 Message Date
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
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 8 years ago
brian m. carlson 0f05154c70 worktree: convert struct worktree to object_id 8 years ago
René Scharfe e691b027b6 refs: pass NULL to refs_resolve_ref_unsafe() if hash is not needed 8 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
Stefan Beller 7c4be458b1 worktree: initialize return value for submodule_uses_worktrees 8 years ago
Brandon Williams 4ac9006f83 real_path: have callers use real_pathdup and strbuf_realpath 8 years ago
Stefan Beller 1a248cf21d worktree: check if a submodule uses worktrees 8 years ago
Nguyễn Thái Ngọc Duy 4df1d4d466 worktree list: keep the list sorted 8 years ago
Nguyễn Thái Ngọc Duy 4fff1ef7ff worktree.c: get_worktrees() takes a new flag argument 8 years ago
Nguyễn Thái Ngọc Duy a234563a3b get_worktrees() must return main worktree as first item even on error 8 years ago
Nguyễn Thái Ngọc Duy f054996d83 worktree.c: zero new 'struct worktree' on allocation 8 years ago
Dennis Kaarsemaker 171c646f8c worktree: allow the main brach of a bare repository to be checked out 9 years ago
René Scharfe fd2e7dafde worktree: use strbuf_add_absolute_path() directly 9 years ago
Nguyễn Thái Ngọc Duy 080739ba1d worktree.c: find_worktree() search by path suffix 9 years ago
Nguyễn Thái Ngọc Duy 346ef53058 worktree.c: add is_worktree_locked() 9 years ago
Nguyễn Thái Ngọc Duy 984ad9e56c worktree.c: add is_main_worktree() 9 years ago
Nguyễn Thái Ngọc Duy 6835314459 worktree.c: add find_worktree() 9 years ago
Nguyễn Thái Ngọc Duy afb9e30b2c worktree.c: use is_dot_or_dotdot() 9 years ago
Nguyễn Thái Ngọc Duy 360af2dada worktree.c: rewrite mark_current_worktree() to avoid strbuf 9 years ago
Li Peng 832c0e5e63 typofix: assorted typofixes in comments, documentation and messages 9 years ago
Nguyễn Thái Ngọc Duy 14ace5b77b branch: do not rename a branch under bisect or rebase 9 years ago
Nguyễn Thái Ngọc Duy 04a3dfb8b5 worktree.c: check whether branch is bisected in another worktree 9 years ago
Nguyễn Thái Ngọc Duy 8d9fdd7087 worktree.c: check whether branch is rebased in another worktree 9 years ago
Nguyễn Thái Ngọc Duy c8717148d0 worktree.c: avoid referencing to worktrees[i] multiple times 9 years ago
Nguyễn Thái Ngọc Duy 750e8a60d6 worktree.c: mark current worktree 9 years ago
Nguyễn Thái Ngọc Duy d3b9ac07eb worktree.c: make find_shared_symref() return struct worktree * 9 years ago