108 Commits (e4d2d55ae46216872c9eaa3b9d0072aa8361d5d3)

Author SHA1 Message Date
Thomas Gummerer f60a7b763f worktree: teach "add" to check out existing branches 7 years ago
Thomas Gummerer 6427f87186 worktree: factor out dwim_branch function 7 years ago
Thomas Gummerer 2c27002a0a worktree: improve message when creating a new worktree 7 years ago
Thomas Gummerer d861d34a6e worktree: remove extra members from struct add_opts 7 years ago
Stefan Beller d228eea514 worktree: accept -f as short for --force for removal 7 years ago
Nguyễn Thái Ngọc Duy 327864aaf7 worktree prune: improve prune logic when worktree is moved 7 years ago
Nguyễn Thái Ngọc Duy 3800135b89 worktree: delete dead code 7 years ago
brian m. carlson aab9583f7b Convert find_unique_abbrev* to struct object_id 7 years ago
Eric Sunshine a4bf1e3c2e worktree: add: fix 'post-checkout' not knowing new worktree location 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 cc73385cf6 worktree remove: new command 7 years ago
Nguyễn Thái Ngọc Duy 78d986b252 worktree move: refuse to move worktrees with submodules 7 years ago
Nguyễn Thái Ngọc Duy c64a8d200f worktree move: accept destination as directory 7 years ago
Nguyễn Thái Ngọc Duy 9f792bb472 worktree move: new command 7 years ago
Nguyễn Thái Ngọc Duy fc3d4e0cbe completion: use __gitcomp_builtin in _git_worktree 7 years ago
Nguyễn Thái Ngọc Duy 1224781d60 parse-options: let OPT__FORCE take optional flags argument 7 years ago
Junio C Hamano b780e4407d worktree: say that "add" takes an arbitrary commit in short-help 7 years ago
Eric Sunshine ade546be47 worktree: invoke post-checkout hook (unless --no-checkout) 7 years ago
Thomas Gummerer e92445a731 add worktree.guessRemote config option 7 years ago
Thomas Gummerer 71d6682d8c worktree: add --guess-remote flag to add subcommand 7 years ago
Thomas Gummerer 4e85333197 worktree: make add <path> <branch> dwim 7 years ago
Thomas Gummerer e284e892ca worktree: add --[no-]track option to the add subcommand 7 years ago
brian m. carlson 0f05154c70 worktree: convert struct worktree to object_id 7 years ago
Jeff King 8a1a8d2ad1 worktree: check the result of read_in_full() 7 years ago
Jeff King 228740b67b worktree: use xsize_t to access file size 7 years ago
Jeff King 0e5bba53af add UNLEAK annotation for reducing leak false positives 7 years ago
Ævar Arnfjörð Bjarmason 88ce3ef636 *.[ch] refactoring: make use of the FREE_AND_NULL() macro 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Johannes Schindelin 2e11f58fa6 show_worktree(): plug memory leak 8 years ago
Johannes Schindelin dddbad728c timestamp_t: a new data type for timestamps 8 years ago
Jeff King 8c2ca3a6d6 replace strbuf_addstr(git_path()) with git_path_buf() 8 years ago
Nguyễn Thái Ngọc Duy 507e6e9eec worktree add: add --lock option 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
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