summaryrefslogtreecommitdiff
path: root/src/worktree.c
Commit message (Expand)AuthorAgeFilesLines
* worktree: checkout options suggestions from code reviewEdward Thomson2021-12-231-6/+6
* Change default checkout strategy from FORCE to SAFEpunkymaniac2021-12-231-2/+0
* Allow user checkout options on git_worktree_addpunkymaniac2021-12-231-1/+4
* path: use new length validation functionsEdward Thomson2021-11-091-1/+2
* path: separate git-specific path functions from utilEdward Thomson2021-11-091-24/+24
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-65/+85
* bugfix: don't generate paths with empty segmentsPeter Pettersson2021-08-081-3/+3
* worktree: validate worktree pathsEdward Thomson2021-04-281-2/+5
* worktree: use GIT_ASSERTEdward Thomson2020-11-271-11/+19
* Apply suggestions from code reviewEdward Thomson2020-11-211-1/+1
* worktree: Added worktree_dir checkReginald McLean2020-11-061-1/+8
* tree-wide: do not compile deprecated functions with hard deprecationPatrick Steinhardt2020-06-091-0/+4
* Fix typo causing removal of symbol 'git_worktree_prune_init_options'Seth Junot2020-04-041-1/+1
* worktree: report errors when unable to read locking reasonPatrick Steinhardt2020-02-071-28/+44
* worktree: use size_t for sizesEdward Thomson2019-06-241-1/+1
* errors: use lowercaseethomson/error_messagesEdward Thomson2019-06-231-7/+7
* Rename opt init functions to `options_init`Edward Thomson2019-06-141-2/+14
* worktree: error out early if given ref is not validPatrick Steinhardt2019-02-141-12/+14
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-13/+13
* worktree: unlock should return 1 when the worktree isn't lockedEtienne Samson2018-08-171-1/+1
* worktree: don't return "untyped" negative numbers as error codesEtienne Samson2018-06-291-11/+4
* worktree: skip building a buffer when validatingEtienne Samson2018-06-291-4/+1
* tests: worktree/bare: fix git_worktree_validateEtienne Samson2018-06-291-1/+1
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-20/+20
* worktree: a worktree can be made from a bare repositoryEtienne Samson2018-05-071-1/+1
* Merge pull request #4640 from mkeeler/worktree-convenience2Patrick Steinhardt2018-04-301-1/+15
|\
| * worktree: add functions to get name and pathMatt Keeler2018-04-251-1/+15
* | worktree: fix calloc of the wrong object typeEtienne Samson2018-04-201-1/+1
* | Merge pull request #4524 from pks-t/pks/worktree-refsEdward Thomson2018-04-171-7/+24
|\ \ | |/ |/|
| * worktree: add ability to create worktree with pre-existing branchPatrick Steinhardt2018-02-091-7/+24
* | worktree: rename parameter creason to reasonJacques Germishuys2018-03-031-3/+3
* | worktree: lock reason should be constJacques Germishuys2018-03-021-1/+1
|/
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+1
* worktree: use `git__free` instead of `free`Patrick Steinhardt2017-06-081-1/+1
* worktree: switch over worktree pruning to an opts structurePatrick Steinhardt2017-05-051-6/+33
* worktree: support creating locked worktreesPatrick Steinhardt2017-05-051-0/+15
* worktree: introduce git_worktree_add optionsPatrick Steinhardt2017-05-021-1/+18
* worktree: unconditionally free the worktree's namePatrick Steinhardt2017-03-241-2/+1
* worktree: write resolved paths into link filesPatrick Steinhardt2017-03-171-5/+10
* worktree: rename variable in `git_worktree_add`Patrick Steinhardt2017-03-171-13/+13
* worktree: use fully qualified reference name for created HEADPatrick Steinhardt2017-03-171-1/+1
* worktree: parent path should point to the working dirPatrick Steinhardt2017-03-171-3/+3
* worktree: implement `git_worktree_open_from_repository`Patrick Steinhardt2017-03-171-0/+33
* worktree: split off function opening working directoryPatrick Steinhardt2017-03-171-17/+38
* worktree: have `is_worktree_dir` accept a string instead of bufferPatrick Steinhardt2017-03-171-7/+16
* worktree: extract git_worktree_is_prunablePatrick Steinhardt2017-02-131-7/+17
* worktree: compute workdir for worktrees opened via their gitdirPatrick Steinhardt2017-02-131-3/+3
* worktree: implement `git_worktree_prune`Patrick Steinhardt2017-02-131-0/+64
* worktree: implement locking mechanismsPatrick Steinhardt2017-02-131-0/+73
* worktree: implement `git_worktree_add`Patrick Steinhardt2017-02-131-1/+101