summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* cmake: use project-specific root variable instead of CMAKE_SOURCE_DIRethomson/cli_reduxEdward Thomson2021-12-2311-32/+32
* cli: add `hash-object` commandEdward Thomson2021-12-103-2/+139
* futils: provide an option to read a whole file by fdEdward Thomson2021-12-102-0/+37
* cli: add `cat-file` commandEdward Thomson2021-12-103-1/+207
* cli: support `help <command>`Edward Thomson2021-12-103-10/+34
* cli: introduce a help commandEdward Thomson2021-12-105-5/+193
* opt: use a custom function to print usageEdward Thomson2021-12-106-97/+233
* cli: infrastructure for a cli projectEdward Thomson2021-12-1012-0/+1030
* cmake: refactor `add_clar_test` into separate moduleEdward Thomson2021-12-054-30/+19
* refactor: move utility tests into utilEdward Thomson2021-12-0554-772/+704
* refactor: move headertest into separate test folderEdward Thomson2021-12-055-17/+18
* refactor: move clar into separate directoryEdward Thomson2021-12-0518-13/+16
* refactor: `tests` is now `tests/libgit2`Edward Thomson2021-12-05481-117/+147
* cmake: rename git2internal target to libgit2Edward Thomson2021-12-052-32/+33
* cmake: remove unnecessary xcode hackEdward Thomson2021-12-051-7/+0
* cmake: document CMakeLists.txt hierarchyEdward Thomson2021-12-056-1/+14
* refactor: make util an object libraryEdward Thomson2021-12-05122-448/+507
* refactor: `src` is now `src/libgit2`Edward Thomson2021-12-05359-288/+332
* Merge pull request #6128 from libgit2/ethomson/object_validationEdward Thomson2021-12-0410-39/+173
|\
| * object: introduce a raw content validation functionethomson/object_validationEdward Thomson2021-11-303-0/+104
| * object: return GIT_EINVALID on parse errorsEdward Thomson2021-11-308-39/+69
|/
* Merge pull request #6122 from libgit2/ethomson/cleanupEdward Thomson2021-11-3029-70/+60
|\
| * cmake: use CMAKE_SOURCE_DIR and CMAKE_BINARY_DIRethomson/cleanupEdward Thomson2021-11-229-33/+31
| * filebuf: use hashes not oidsEdward Thomson2021-11-224-6/+6
| * sha1: tests should use hashes, not oid computationEdward Thomson2021-11-221-11/+17
| * util: don't include unnecessary system librariesEdward Thomson2021-11-2214-20/+5
| * utf8: include `utf8.h` in testsEdward Thomson2021-11-191-0/+1
* | Merge pull request #6106 from ammgws/fixtemplateerrEdward Thomson2021-11-222-1/+16
|\ \ | |/ |/|
| * repo: minor formatting fixEdward Thomson2021-11-221-2/+1
| * tests: try to init with non-existent template pathJason Nader2021-11-121-0/+10
| * repository: do not copy templates if dir nonexistentJason Nader2021-11-121-1/+7
* | Merge pull request #6121 from libgit2/ethomson/dateEdward Thomson2021-11-197-61/+76
|\ \
| * | date: rfc2822 formatting uses a `git_buf` instead of a static stringethomson/dateEdward Thomson2021-11-195-39/+39
| * | date: make it a proper `git_date` utility classEdward Thomson2021-11-187-32/+47
|/ /
* | Merge pull request #6120 from libgit2/ethomson/cmake_testEdward Thomson2021-11-173-3/+2
|\ \
| * | cmake: use WINHTTP when USE_WINHTTP is specifiedethomson/cmake_testEdward Thomson2021-11-171-1/+1
| * | cmake: enable testing at the top levelEdward Thomson2021-11-172-2/+1
|/ /
* | Merge pull request #6119 from libgit2/ethomson/tag_validEdward Thomson2021-11-161-0/+2
|\ \
| * | tag: set validity to 0 by defaultethomson/tag_validEdward Thomson2021-11-161-0/+2
|/ /
* | cmake: better explain why headertests existsEdward Thomson2021-11-161-3/+8
* | Make enum in src,tests and examples C90 compliant by removing trailing comma.Peter Pettersson2021-11-1537-46/+46
* | ntmlclient: make enum C90 compliant by removing trailing commaPeter Pettersson2021-11-152-6/+6
* | Make enum in includes C90 compliant by removing trailing comma.Peter Pettersson2021-11-1538-72/+72
* | Add target for testing libgit2 headersPeter Pettersson2021-11-152-1/+26
* | Merge pull request #6114 from libgit2/ethomson/cmake5Edward Thomson2021-11-1430-866/+747
|\ \
| * | cmake: move sha1 source selection into CMakeLists.txtEdward Thomson2021-11-142-12/+17
| * | cmake: use a string not a boolean for LIBGIT2_FILENAMEEdward Thomson2021-11-141-1/+1
| * | cmake: refactor global variablesEdward Thomson2021-11-1412-59/+58
| * | cmake: reformat modulesEdward Thomson2021-11-1420-812/+689
|/ /
* | Merge pull request #6116 from lhchavez/drop-volatile-qualifier-in-atomic-exch...Edward Thomson2021-11-141-1/+1
|\ \