59 Commits (598019769cbaa38495b0c04297efa13d0f4a572e)

Author SHA1 Message Date
Patrick Steinhardt 2488dcab22 worktree: fix option descriptions for `prune` 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 96f09e2a11 worktree: reorder an if statement 8 years ago
Junio C Hamano d49028e6e7 worktree: honor configuration variables 8 years ago
René Scharfe 542aa25d97 use CHILD_PROCESS_INIT to initialize automatic variables 9 years ago
Nguyễn Thái Ngọc Duy 6d308627ca worktree: add "unlock" command 9 years ago
Nguyễn Thái Ngọc Duy 58142c09a4 worktree: add "lock" command 9 years ago
Jeff King dabd35f4cd avoid using sha1_to_hex output as printf format 9 years ago
Jordan DE GEA 1a450e2fd1 worktree: allow "-" short-hand for @{-1} in add command 9 years ago
Nguyễn Thái Ngọc Duy 0409e0b6dc worktree: simplify prefixing paths 9 years ago
Nguyễn Thái Ngọc Duy ef23c347cf worktree: avoid 0{40}, too many zeroes, hard to read 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 7b722d906b git-worktree.txt: keep subcommand listing in alphabetical order 9 years ago
Nguyễn Thái Ngọc Duy 8d19e93094 builtin/worktree.c: use error_errno() 9 years ago
Nguyễn Thái Ngọc Duy 8d9fdd7087 worktree.c: check whether branch is rebased in another worktree 9 years ago
Ray Zhang ef2a0ac9a0 worktree: add: introduce --checkout option 9 years ago
Jeff King 3733e69464 use xmallocz to avoid size arithmetic 9 years ago
Nguyễn Thái Ngọc Duy beb6f24bee worktree add -B: do the checkout test before update branch 9 years ago
Nguyễn Thái Ngọc Duy 0ebf4a2af3 worktree: fix "add -B" 9 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
Sidhant Sharma ae9f2745be worktree: usage: denote <branch> as optional with 'add' 9 years ago
Michael Rappazzo bb9c03b82a worktree: add 'list' command 9 years ago
Junio C Hamano 1f76a10b2d write_file(): drop caller-supplied LF from calls to create a one-liner file 10 years ago
Junio C Hamano 12d6ce1dba write_file(): drop "fatal" parameter 10 years ago
Eric Sunshine 1c56190aec worktree: populate via "git reset --hard" rather than "git checkout" 10 years ago
Eric Sunshine ed197a6ab9 worktree: avoid resolving HEAD unnecessarily 10 years ago
Eric Sunshine 7f44e3d1de worktree: make setup of new HEAD distinct from worktree population 10 years ago
Eric Sunshine f7c9dac1b0 worktree: detect branch-name/detached and error conditions locally 10 years ago
Eric Sunshine 80a0548f6c worktree: add_worktree: construct worktree-population command locally 10 years ago
Eric Sunshine 5c942570fe worktree: add: suppress auto-vivication with --detach and no <branch> 10 years ago
Eric Sunshine ae2a38271f worktree: elucidate environment variables intended for child processes 10 years ago
Eric Sunshine c2842439a3 worktree: make branch creation distinct from worktree population 10 years ago
Eric Sunshine ab0b2c53ed worktree: make --detach mutually exclusive with -b/-B 10 years ago
Eric Sunshine 5dd6e234a7 worktree: introduce options container 10 years ago
Eric Sunshine eef005dcb3 worktree: simplify new branch (-b/-B) option checking 10 years ago
Eric Sunshine cd2f471311 worktree: improve worktree setup message 10 years ago
Junio C Hamano c925fe2368 Revert "checkout: retire --ignore-other-worktrees in favor of --force" 10 years ago
Eric Sunshine 0d1a151783 checkout: retire --ignore-other-worktrees in favor of --force 10 years ago
Eric Sunshine 1eb07d829f worktree: add: auto-vivify new branch when <branch> is omitted 10 years ago
Eric Sunshine 0f4af3b9ea worktree: add: make -b/-B default to HEAD when <branch> is omitted 10 years ago
Eric Sunshine f5682b2a86 worktree: extract basename computation to new function 10 years ago
Eric Sunshine b979d95027 checkout: retire --to option 10 years ago
Eric Sunshine cbdf60fa18 worktree: add -b/-B options 10 years ago
Eric Sunshine 39ecb27436 worktree: add --detach option 10 years ago
Eric Sunshine f43254440d worktree: add --force option 10 years ago
Eric Sunshine fc56361f58 worktree: introduce "add" command 10 years ago
Nguyễn Thái Ngọc Duy df0b6cfbda worktree: new place for "git prune --worktrees" 10 years ago