summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | tree: Bring back `entry_bypath`Vicent Marti2012-06-294-105/+140
| | | | | | | | | | | | | | | | | | | | Smaller, simpler, faster.
* | | | | Merge pull request #797 from yorah/fix/inter-hunk-contextRussell Belfer2012-07-101-1/+1
|\ \ \ \ \ | | | | | | | | | | | | diff: make inter-hunk-context default value git-compliant
| * | | | | diff: make inter-hunk-context default value git-compliantyorah2012-07-021-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | Default in git core is 0, not 3
* | | | | Fix libgit2 on GNU/Hurd.Cyril Roelandt2012-07-061-2/+2
| |_|/ / |/| | | | | | | | | | | | | | | On GNU, the d_name field of the dirent structure is defined as "char d_name[1]", so we must allocate more than sizeof(struct dirent) bytes, just like on Sun.
* | | | revparse: fix parsing of date specifiersnulltoken2012-07-022-25/+5
|/ / /
* | | revparse: unfound reflog entry returns ENOTFOUNDnulltoken2012-06-291-1/+1
| | |
* | | revparse: unfound reflog ref returns ENOTFOUNDnulltoken2012-06-291-2/+3
| | |
* | | revparse: unfound partially-named ref returns ENOTFOUNDnulltoken2012-06-291-1/+1
|/ /
* | revparse: unfound nth parent returns ENOTFOUNDnulltoken2012-06-281-1/+1
| |
* | revparse: handle specs with caret and colonnulltoken2012-06-281-0/+4
| |
* | revparse: unfound treepath returns ENOTFOUNDnulltoken2012-06-281-3/+25
| |
* | revparse: return trees through the "colon" syntaxnulltoken2012-06-281-4/+12
| |
* | revparse: replace spaces with tabsnulltoken2012-06-281-671/+671
| |
* | mwindow: allow memory-window files to deregisterCarlos Martin Nieto2012-06-284-0/+21
| | | | | | | | | | | | | | | | | | Once a file is registered, there is no way to deregister it, even after the structure that contains it is no longer needed and has been freed. This may be the source of #624. Allow and use the deregister function to remove our file from the global list.
* | indexer: don't use '/objects/pack/' unconditionallyCarlos Martín Nieto2012-06-283-4/+14
| | | | | | | | | | Not everyone who indexes a packfile wants to put it in the standard git repository location.
* | Merge pull request #783 from nulltoken/topic/reinit-coverageVicent Martí2012-06-251-34/+13
|\ \ | | | | | | Repo reinit fix + enhanced test coverage
| * | repository: fix configuration updating issue while reinitializationnulltoken2012-06-221-34/+13
| |/ | | | | | | | | | | When the repository was reinitialized, every configuration change in repo_init_config() was directly performed against the file on the filesystem. However, a previous version of the configuration had previously been loaded in memory and attached to the repository, in repo_init_reinit(). The repository was unaware of the change and the stale cached version of the configuration never refreshed.
* | Merge pull request #785 from nulltoken/topic/refs-fromglobVicent Martí2012-06-252-8/+40
|\ \ | | | | | | Topic/refs fromglob
| * | revwalk: make git_revwalk_(push|hide)_glob() leverage ↵nulltoken2012-06-221-8/+3
| | | | | | | | | | | | git_reference_foreach_glob()
| * | references: introduce git_reference_foreach_glob()nulltoken2012-06-221-0/+37
| | |
* | | Merge pull request #786 from schu/indexerVicent Martí2012-06-251-2/+0
|\ \ \ | | | | | | | | indexer: start parsing input data immediately
| * | | indexer: start parsing input data immediatelyMichael Schubert2012-06-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the first call of git_indexer_stream_add adds the data to the underlying pack file and opens it for later use, but doesn't start parsing the already available data. This means, git_indexer_stream_finalize only works if git_indexer_stream_add was called at least twice. Kill this limitation by parsing available data immediately.
* | | | amigaos: Add missing includeVicent Marti2012-06-241-0/+1
|/ / /
* | | amigaos: CleanupVicent Marti2012-06-223-101/+124
| | |
* | | Merge branch 'pull-req' of https://github.com/chris-y/libgit2 into amigaosVicent Marti2012-06-2210-4/+168
|\ \ \ | |/ / |/| |
| * | more getaddrinfo compatibilityChris Young2012-06-201-4/+6
| | |
| * | getaddrinfo() replacement functionsChris Young2012-06-201-35/+86
| | |
| * | More changes resulting from pull requestChris Young2012-06-145-10/+8
| | |
| * | Updates from comments on OS4 compatibility pull request ↵Chris Young2012-06-145-31/+35
| | | | | | | | | | | | http://github.com/libgit2/libgit2/pull/766
| * | Merge remote-tracking branch 'source/development' into developmentChris Young2012-06-1328-154/+2055
| |\ \
| * | | Make this more generic and mergeable.Chris Young2012-06-135-25/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needs AmigaOS.cmake now from CMake package at OS4Depot, or contents below: --8<-- SET(AMIGA 1) SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") --8<--
| * | | Actually do the mmap... unsurprisingly, this makes the indexer work on SFSChris Young2012-06-124-8/+9
| | | | | | | | | | | | | | | | | | | | On RAM: the .idx and .pack files become links to a .lock and the original download respectively. Assume some feature (such as record locking) supported by SFS but not JXFS or RAM: is required.
| * | | Basic mmap/munmap compatiblityChris Young2012-06-103-5/+22
| | | |
| * | | stop readdir parsing crashingChris Young2012-06-091-0/+9
| | | |
| * | | Fix gethostbyname compatibilityChris Young2012-06-091-2/+10
| | | |
| * | | pre-compiled sha1ppc.S.obj file with nasty CMake hack instructions as the ↵Chris Young2012-06-091-0/+0
| | | | | | | | | | | | | | | | cross-compile process refuses to build and link this file itself.
| * | | OS4 compatibilityChris Young2012-06-082-3/+7
| | | |
| * | | random page size for os4Chris Young2012-06-071-0/+2
| | | |
| * | | horrid gethostbyname compatibilityChris Young2012-06-071-4/+30
| | | |
| * | | no fnmatch.hChris Young2012-06-071-1/+1
| | | |
| * | | Merge remote-tracking branch 'source/development' into update-testChris Young2012-06-07160-8420/+28966
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging main libgit2! Conflicts: CMakeLists.txt src/unix/map.c
| * | | | Assume this is irrelevant for nowChris Young2012-06-051-2/+6
| | | | |
* | | | | Merge pull request #782 from nulltoken/topic/branch-foreachVicent Martí2012-06-211-28/+28
|\ \ \ \ \ | | | | | | | | | | | | Branch foreach
| * | | | | branch: drop git_branch_list()nulltoken2012-06-211-43/+0
| | | | | |
| * | | | | branch: add git_branch_foreach()nulltoken2012-06-211-0/+43
| | |_|_|/ | |/| | |
* | | | | Merge pull request #780 from schu/cleanupVicent Martí2012-06-212-13/+11
|\ \ \ \ \ | | | | | | | | | | | | Cleanup
| * | | | | object: add missing git_odb_object_freeMichael Schubert2012-06-211-1/+3
| | | | | |
| * | | | | notes: fix memory leaksMichael Schubert2012-06-211-12/+8
| |/ / / /
* | | | | fix below issues on mingw:liyuray2012-06-211-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. compile warning: D:\libgit2.git\src\win32\posix_w32.c: In function 'p_open': D:\libgit2.git\src\win32\posix_w32.c:235:10: warning: 'mode_t' is promoted to 'int' when passed through '...' [enabled by default] D:\libgit2.git\src\win32\posix_w32.c:235:10: note: (so you should pass 'int' not 'mode_t' to 'va_arg') D:\libgit2.git\src\win32\posix_w32.c:235:10: note: if this code is reached, the program will abort 2. test crash. 3. the above two issues are same root cause. please see http://www.eskimo.com/~scs/cclass/int/sx11c.html
* | | | repository: avoid opening the repository twice on reinitCarlos Martín Nieto2012-06-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The call to repo_init_reinit already takes care of opening the repository and giving us a git_repository object to give to the caller. There is no need to call git_repository_open again.