summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* cli: add `cat-file` commandethomson/cmake5Edward Thomson2021-11-293-1/+228
* cli: support `help <command>`Edward Thomson2021-11-293-10/+34
* cli: introduce a help commandEdward Thomson2021-11-295-3/+192
* opt: use a custom function to print helpEdward Thomson2021-11-292-20/+75
* opt: use a custom function to print usageEdward Thomson2021-11-296-80/+155
* cli: infrastructure for a cli projectEdward Thomson2021-11-2611-0/+728
* cmake: refactor `add_clar_test` into separate moduleEdward Thomson2021-11-224-30/+19
* refactor: move utility tests into utilEdward Thomson2021-11-2254-772/+704
* refactor: move headertest into separate test folderEdward Thomson2021-11-225-17/+18
* refactor: move clar into separate directoryEdward Thomson2021-11-2218-13/+16
* refactor: `tests` is now `tests/libgit2`Edward Thomson2021-11-22481-117/+147
* cmake: rename git2internal target to libgit2Edward Thomson2021-11-222-32/+33
* cmake: remove unnecessary xcode hackEdward Thomson2021-11-221-7/+0
* cmake: document CMakeLists.txt hierarchyEdward Thomson2021-11-226-1/+14
* refactor: make util an object libraryEdward Thomson2021-11-22122-448/+507
* refactor: `src` is now `src/libgit2`Edward Thomson2021-11-22359-288/+332
* 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 #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
|\
| * Fix a gcc 11 warning in src/thread.hlhchavez2021-11-141-1/+1
* | Merge pull request #6115 from lhchavez/fix-indentation-threadstateEdward Thomson2021-11-141-2/+2
|\ \ | |/ |/|
| * Fix a gcc 11 warning in src/threadstate.clhchavez2021-11-141-2/+2
|/
* Merge pull request #6113 from libgit2/ethomson/cmake3Edward Thomson2021-11-1156-111/+570
|\
| * cmake: move missing-declarations warning to top-levelEdward Thomson2021-11-112-2/+1
| * tests: include function declarationsEdward Thomson2021-11-115-4/+13
| * test: correct test namesEdward Thomson2021-11-113-3/+3
| * tests: declare functions statically where appropriateEdward Thomson2021-11-1134-60/+442
| * clar: declare summary functions as staticEdward Thomson2021-11-111-5/+5
| * example: declare print_usage functionEdward Thomson2021-11-111-1/+1