summaryrefslogtreecommitdiff
path: root/src/repository.c
Commit message (Expand)AuthorAgeFilesLines
* Fix typosDimitris Apostolou2022-01-051-5/+5
* Merge pull request #6106 from ammgws/fixtemplateerrEdward Thomson2021-11-221-1/+6
|\
| * repo: minor formatting fixEdward Thomson2021-11-221-2/+1
| * repository: do not copy templates if dir nonexistentJason Nader2021-11-121-1/+7
* | fs_path: add length with suffix validationEdward Thomson2021-11-091-2/+2
* | path: use new length validation functionsEdward Thomson2021-11-091-3/+3
* | path: separate git-specific path functions from utilEdward Thomson2021-11-091-59/+59
|/
* str: introduce `git_str` for internal, `git_buf` is externalethomson/gitstrEdward Thomson2021-10-171-257/+267
* repository: improve `hashfile` for absolute pathsEdward Thomson2021-09-251-11/+13
* Merge pull request #6031 from libgit2/ethomson/extensionsEdward Thomson2021-09-141-3/+112
|\
| * common: support custom repository extensionsethomson/extensionsEdward Thomson2021-09-041-3/+112
* | Fix coding style for pointerpunkymaniac2021-09-091-5/+5
|/
* Merge pull request #5943 from kcsaul/fix/5851Edward Thomson2021-08-301-0/+6
|\
| * repo: fix worktree iteration when repo has no common directoryKevin Saul2021-07-111-0/+6
* | Homogenize semantics for atomic-related functionslhchavez2021-08-261-8/+4
|/
* Merge pull request #5823 from libgit2/ethomson/path_validationEdward Thomson2021-05-021-31/+86
|\
| * repo: validate repository pathsEdward Thomson2021-04-281-7/+33
| * repo: factor the commondir detectionEdward Thomson2021-04-281-28/+41
| * repository: validate workdir path lengthsEdward Thomson2021-04-281-3/+3
| * repo: introduce git_repository_workdir_pathEdward Thomson2021-04-281-0/+16
* | Merge pull request #5834 from libgit2/cmn/repo-no-passthroughEdward Thomson2021-04-131-11/+9
|\ \
| * | repo: remove an inappropriate use of PASSTHROUGHcmn/repo-no-passthroughCarlos Martín Nieto2021-04-111-11/+9
* | | repo: specify init.defaultbranch is meant to be a branch namecmn/branch-or-refCarlos Martín Nieto2021-04-111-1/+1
|/ /
* | Default to GIT_BRANCH_DEFAULT if init.defaultBranch is empty stringIan Hattendorf2021-04-011-2/+3
|/
* repo: ignore empty init.defaultbranchethomson/empty_default_branchEdward Thomson2021-01-071-1/+2
* Fix an oopslhchavez2020-12-111-1/+1
* Small refactor to make thing tidierlhchavez2020-12-111-18/+4
* threads: give atomic functions the git_atomic prefixEdward Thomson2020-12-061-12/+12
* Make the odb race-freelhchavez2020-11-281-2/+3
* repository: use GIT_ASSERTEdward Thomson2020-11-271-33/+58
* buffer: git_buf_sanitize should return a valueEdward Thomson2020-11-251-2/+5
* refs: use git_reference_name_is_validEdward Thomson2020-10-251-3/+4
* Fix error return for invalid extensions.Eric Huss2020-10-071-2/+2
* repo: teach isempty about default branch configEdward Thomson2020-08-031-9/+11
* repo: add git_repository_initialbranchEdward Thomson2020-08-031-0/+34
* repo: honor the init.defaultBranch settingEdward Thomson2020-08-031-16/+40
* repository: retrieve worktree HEAD via refdbPatrick Steinhardt2020-07-121-21/+13
* repository: remove function to iterate over HEADsPatrick Steinhardt2020-07-121-39/+0
* repository: introduce new function to iterate over all worktreesPatrick Steinhardt2020-07-121-0/+45
* tree-wide: do not compile deprecated functions with hard deprecationPatrick Steinhardt2020-06-091-0/+2
* strarray: we should `dispose` instead of `free`Edward Thomson2020-06-011-1/+1
* Merge pull request #5388 from bk2204/repo-format-v1Patrick Steinhardt2020-04-021-9/+38
|\
| * repository: handle format v1brian m. carlson2020-02-111-9/+38
* | repository: check error codes when reading common linkPatrick Steinhardt2020-02-071-50/+63
|/
* repository functions: return an intEdward Thomson2020-01-241-5/+11
* Do not return free'd git_repository object on errorSven Strickroth2020-01-161-2/+1
* futils_filesize: use `uint64_t` for object sizeEdward Thomson2019-11-221-5/+2
* refs: fix locks getting forcibly removedSebastian Henke2019-10-101-1/+1
* open:move all cleanup code to cleanup label in git_repository_open_extLaurence McGlashan2019-09-101-9/+7
* open:fix memory leak when passing NULL to git_repository_open_extLaurence McGlashan2019-09-101-1/+6