summaryrefslogtreecommitdiff
path: root/src/repository.c
Commit message (Expand)AuthorAgeFilesLines
* Fix warning C4133 incompatible types in MSVCSven Strickroth2018-11-251-2/+2
* repository: load_config for non-repo configsEdward Thomson2018-10-201-6/+8
* win32: emulate Git for Windows in symlink supportEdward Thomson2018-10-201-10/+42
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-56/+56
* repository: being a worktree means we're not really bareEtienne Samson2018-05-071-3/+7
* refcount: make refcounting conform to aliasing rulesPatrick Steinhardt2017-11-181-1/+1
* config: pass repository when opening config filesPatrick Steinhardt2017-10-091-6/+6
* repository: constify several repo parameters for gettersPatrick Steinhardt2017-10-091-6/+6
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-1/+3
* repository: remove trailing whitespaceAriel Davis2017-06-191-2/+2
* repository: do not initialize templates if dir is an empty stringAriel Davis2017-06-191-1/+7
* repository: don't fail to create config option in inmemory repoEdward Thomson2017-06-121-6/+3
* repository_item_path: return ENOTFOUND when appropriateEdward Thomson2017-06-121-1/+1
* repository_item_path: error messages lowercasedEdward Thomson2017-06-121-2/+2
* settings: rename `GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION`Patrick Steinhardt2017-06-081-0/+2
* Merge pull request #4243 from pks-t/pks/submodule-workdirEdward Thomson2017-06-041-38/+59
|\
| * repository: make check if repo is a worktree more strictPatrick Steinhardt2017-05-191-0/+7
| * repository: factor out worktree checkPatrick Steinhardt2017-05-191-5/+19
| * repository: improve parameter names for `find_repo`Patrick Steinhardt2017-05-191-35/+35
| * repository: clear out-parameter instead of freeing itPatrick Steinhardt2017-05-191-1/+1
* | Merge pull request #4174 from libgit2/ethomson/set_head_to_tagCarlos Martín Nieto2017-05-201-37/+40
|\ \ | |/ |/|
| * git_repository_set_head: use remote name in reflogethomson/set_head_to_tagEdward Thomson2017-04-031-2/+4
| * git_repository_set_head: use tag name in reflogEdward Thomson2017-03-211-37/+38
* | worktrees: cleanup some memory leaksEdward Thomson2017-05-011-1/+2
* | repository: add function to iterate over all HEADsPatrick Steinhardt2017-04-051-0/+32
* | repository: get worktree HEAD via `git_reference__read_head`Patrick Steinhardt2017-04-051-50/+23
* | repository: extract function to get path to a file in a work treePatrick Steinhardt2017-04-051-11/+8
* | repository: set error message if trying to set HEAD to a checked out onePatrick Steinhardt2017-04-051-0/+2
* | Honor `core.fsyncObjectFiles`ethomson/fsyncEdward Thomson2017-03-021-9/+13
|/
* strmap: remove GIT__USE_STRMAP macroPatrick Steinhardt2017-02-171-1/+0
* worktree: compute workdir for worktrees opened via their gitdirPatrick Steinhardt2017-02-131-4/+32
* repository: rename `path_repository` and `path_gitlink`Patrick Steinhardt2017-02-131-24/+24
* repository: restrict checking out checked out branchesPatrick Steinhardt2017-02-131-0/+6
* worktree: implement functions reading HEADPatrick Steinhardt2017-02-131-0/+85
* worktree: implement `git_repository_open_from_worktree`Patrick Steinhardt2017-02-131-0/+31
* repository: expose `repo_init_create_head`Patrick Steinhardt2017-02-131-2/+2
* config: open configuration in commondirPatrick Steinhardt2017-02-131-2/+1
* repository: introduce is_worktree variablePatrick Steinhardt2017-02-131-0/+11
* repository: use `git_repository_item_path`Patrick Steinhardt2017-02-131-1/+2
* repository: add function to retrieve paths for repo itemsPatrick Steinhardt2017-02-131-0/+61
* repository: introduce commondir variablePatrick Steinhardt2017-02-131-15/+66
* Allow for caching of submodules.Brock Peabody2017-01-201-0/+33
* giterr_set: consistent error messagesEdward Thomson2016-12-291-13/+13
* repository: do not interpret all files as gitlinks in discoveryPatrick Steinhardt2016-11-141-1/+1
* git_repository_open_ext: fix handling of $GIT_NAMESPACEJosh Triplett2016-11-111-5/+8
* repository: don't cast to `int` for no reasonEdward Thomson2016-07-241-4/+4
* find_repo: Clean up and simplify logicJosh Triplett2016-06-241-22/+30
* Add GIT_REPOSITORY_OPEN_FROM_ENV flag to respect $GIT_* environment varsJosh Triplett2016-06-241-0/+169
* Add GIT_REPOSITORY_OPEN_NO_DOTGIT flag to avoid appending /.gitJosh Triplett2016-06-241-7/+10
* Fix repository discovery with ceiling_dirs at current directoryJosh Triplett2016-06-241-17/+25