- 29 Jun, 2016 3 commits
-
-
submodule: Try to fetch when update fails to find the target commit.
Edward Thomson committed -
blame: increment reference count for origin's commit
Edward Thomson committed -
When we create a blame origin, we try to look up the blob that is to be blamed at a certain revision. When this lookup fails, e.g. because the file did not exist at that certain revision, we fail to create the blame origin and return `NULL`. The blame origin that we have just allocated is thereby free'd with `origin_decref`. The `origin_decref` function does not only decrement reference counts for the blame origin, though, but also for its commit and blob. When this is done in the error case, we will cause an uneven reference count for these objects. This may result in hard-to-debug failures at seemingly unrelated code paths, where we try to access these objects when they in fact have already been free'd. Fix the issue by refactoring `make_origin` such that we only allocate the object after the only function that may fail so that we do not have to call `origin_decref` at all. Also fix the `pass_blame` function, which indirectly calls `make_origin`, to free the commit when `make_origin` failed.
Patrick Steinhardt committed
-
- 28 Jun, 2016 1 commit
-
-
Jason Haslam committed
-
- 26 Jun, 2016 7 commits
-
-
Reading patch files
Edward Thomson committed -
Improve the README
Edward Thomson committed -
When showing copy information because we are duplicating contents, for example, when performing a `diff --find-copies-harder -M100 -B100`, then show copy from/to lines in a patch, and do not show context. Ensure that we can also parse such patches.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Patches may have no hunks when there's no modifications (for example, in a rename). Handle them.
Edward Thomson committed -
Test that we can create a diff file, then parse the results and that the two are identical in-memory.
Edward Thomson committed
-
- 21 Jun, 2016 6 commits
-
-
Cleanups
Edward Thomson committed -
cmake: do not use -fPIC for MSYS2
Edward Thomson committed -
Patrick Steinhardt committed
-
Avoid declaring old-style functions without any parameters. Functions not accepting any parameters should be declared with `void fn(void)`. See ISO C89 $3.5.4.3.
Patrick Steinhardt committed -
The MSYS2 build system automatically compiles all code with position-independent code. When we manually add the -fPIC flag to the compiler flags, MSYS2 will loudly complain about PIC being the default and thus not required. Fix the annoyance by stripping -fPIC in MSYS2 enviroments like it is already done for MinGW.
Patrick Steinhardt committed -
Thread namespacing
Edward Thomson committed
-
- 20 Jun, 2016 16 commits
-
-
Edward Thomson committed
-
Drop node-gitteh. Replace outdated PowerShell bindings with PSGit.
Edward Thomson committed -
Edward Thomson committed
-
Indicate that if you make changes to libgit2 that you must distribute the source _to libgit2_, not the source _of your program_.
Edward Thomson committed -
Patrick Steinhardt committed
-
The old pthread-file did re-implement the pthreads API with exact symbol matching. As the thread-abstraction has now been split up between Unix- and Windows-specific files within the `git_` namespace to avoid symbol-clashes between libgit2 and pthreads, the rewritten wrappers have nothing to do with pthreads anymore. Rename the Windows-specific pthread-files to honor this change.
Patrick Steinhardt committed -
Patrick Steinhardt committed
-
The function pthread_num_processors_np is currently unused and superseded by the function `git_online_cpus`. Remove the function.
Patrick Steinhardt committed -
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Fix truncation of SHA in error message for git_odb_read
Edward Thomson committed -
Sim Domingo committed
-
HTTP authentication scheme name is case insensitive.
Edward Thomson committed
-
- 19 Jun, 2016 1 commit
-
-
David Brooks committed
-
- 17 Jun, 2016 1 commit
-
-
checkout: use empty baseline when no index file exists
Carlos Martín Nieto committed
-
- 16 Jun, 2016 1 commit
-
-
documentation: improve docs for `checkout_head`
Carlos Martín Nieto committed
-
- 15 Jun, 2016 2 commits
-
-
When no index file exists and a baseline is not explicitly provided, use an empty baseline instead of trying to load `HEAD`.
Edward Thomson committed -
`git_checkout_head` is sadly misunderstood as something that can switch branches. It cannot. Update the documentation to reflect this.
Edward Thomson committed
-
- 14 Jun, 2016 2 commits
-
-
fetch: Fixed spurious update callback for existing tags.
Edward Thomson committed -
Jason Haslam committed
-