Log

Author Commit Date CI Message
Russell Belfer cb7180a6 2012-10-25T11:48:39 Add git_diff_patch_print This adds a `git_diff_patch_print()` API which is more like the existing API to "print" a patch from an entire `git_diff_list` but operates on a single `git_diff_patch` object. Also, it rewrites the `git_diff_patch_to_str()` API to use that function (making it very small).
Russell Belfer 3943dc78 2012-10-25T11:12:56 Check errors while generating diff patch string
Russell Belfer 93cf7bb8 2012-10-24T20:56:32 Add git_diff_patch_to_str API This adds an API to generate a complete single-file patch text from a git_diff_patch object.
Michael Schubert 6f6b0c01 2012-10-24T15:42:09 tests-clar/repo: remove unused variable
Ignacio Casal Quinteiro 4bc252e4 2012-10-24T11:27:03 Fix example in comment
Scott J. Goldman 308581de 2012-10-23T18:18:19 Fix Makefile.embed to build src/sha1/*.c
Vicent Martí 81e7b10a 2012-10-23T13:43:28 Merge pull request #1012 from carlosmn/libcrypto-sha Use libcrypto's SHA-1 implementation when linking to it
Carlos Martín Nieto 7205a4d9 2012-10-23T19:30:04 Use libcrypto's SHA-1 implementation when linking to it libcryto's SHA-1 implementation is measurably better than the one that ships with the library. If we link to it for HTTPS support already, use that implementation instead. Testing on a ~600MB of the linux repository, this reduces indexing time by 40% and removes the hashing from the top spot in the perf output.
Russell Belfer 5b67d145 2012-10-23T09:53:15 Merge pull request #923 from yorah/topic/config-store Add git_config_level support when handling config files
yorah a1abe66a 2012-09-10T12:11:02 Add config level support in the config API Added `struct git_config_entry`: a git_config_entry contains the key, the value, and the config file level from which a config element was found. Added `git_config_open_level`: build a single-level focused config object from a multi-level one. We are now storing `git_config_entry`s in the khash of the config_file
yorah f8ede948 2012-09-18T14:10:40 Fix adding variable to config file with no trailing newline This can occur after a manual modification of a config file.
Vicent Martí 8a89aa1f 2012-10-22T12:04:48 Merge pull request #963 from carlosmn/remote-save-autotag Save the autotag configuration for remotes
Vicent Martí 40846f3d 2012-10-22T10:51:43 Merge pull request #1004 from nulltoken/error/GIT_EORPHANEDHEAD More orphaned head love
nulltoken f36fb761 2012-10-20T19:23:04 tests: more git_repository_head_detached() coverage
nulltoken c436ed26 2012-10-20T12:09:02 reset: make git_reset() cope with an orphaned HEAD
Vicent Martí 0e198408 2012-10-22T10:39:40 Merge pull request #1008 from nulltoken/fix/chunked_blob blob: do not create temp files in the current path
nulltoken cfa6465c 2012-10-22T15:08:09 blob: do not create temp files in the current path - make sure temporary streamed blobs are created under the .git/objects folder and not in the current path, whatever it is. - do not make the name of the temp file depend on the hintpath.
nulltoken cd1ef822 2012-10-20T12:07:53 test: extract make_head_orphaned() logic
nulltoken 209e34fa 2012-10-20T10:44:01 tests: leverage git_repository_detach_head()
Vicent Martí c497a63b 2012-10-19T17:06:51 Merge pull request #1001 from veeti/build-fixes Changes to CMake for packaging
Philip Kelley 11c2a9c6 2012-10-19T17:06:07 Merge pull request #1003 from arrbee/fix-test-core-env Fix env variable tests with new Win32 path rules
Veeti Paananen 88e0fc05 2012-10-20T02:59:40 Remove backwards compatibility for INSTALL_LIB
Veeti Paananen 291f7122 2012-10-19T23:34:00 Let environment CFLAGS override the debug flags
Veeti Paananen 9795a40f 2012-10-19T17:33:13 Use standard CMake variable names for installation paths Rename INSTALL_INC and INSTALL_BIN to INCLUDE_INSTALL_DIR and BIN_INSTALL_DIR, which are more commonly used. This is also consistent with the variable for the library path which is already LIB_INSTALL_DIR.
Russell Belfer 0d422ec9 2012-10-19T15:40:43 Fix env variable tests with new Win32 path rules The new Win32 global path search was not working with the environment variable tests. But when I fixed the test, the new codes use of getenv() was causing more failures (presumably because of caching on Windows ???). This fixes the global file lookup to always go directly to the Win32 API in a predictable way.
Vicent Marti 875b16eb 2012-10-19T23:44:49 repository: Typo
Vicent Martí cf028856 2012-10-19T14:43:09 Merge pull request #1000 from nulltoken/error/GIT_EORPHANEDHEAD Add error GIT_EORPHANEDHEAD
Russell Belfer 4fec465b 2012-10-19T14:17:26 Merge pull request #1002 from tnm/patch-1 Update README because vmg is @vmg.
Ted Nyman 1a234402 2012-10-19T14:05:55 Update README because vmg is @vmg.
nulltoken 8b05bea8 2012-10-19T17:07:39 errors: deploy GIT_EORPHANEDHEAD usage
nulltoken c4f68b35 2012-10-19T11:04:32 errors: introduce GIT_EORPHANEDHEAD
nulltoken 0532e7bb 2012-10-19T20:34:33 branch: allow deletion of branch when HEAD's missing
nulltoken 8dd0bef9 2012-10-19T12:03:48 tests: Fix unused variable warning
Russell Belfer 350b83b6 2012-10-18T15:15:04 Merge pull request #998 from nulltoken/topic/explicit-errors Enhance test coverage
nulltoken 2df37f42 2012-10-18T23:59:22 refs: cover more refname validity edge cases
nulltoken 4fd7e8e5 2012-10-18T16:52:19 status: querying a bare repo returns EBAREREPO
nulltoken c2e43fb1 2012-10-18T16:50:55 diff: workdir diffing in a bare repo returns EBAREREPO
Vicent Martí 502be5ff 2012-10-18T14:15:37 Merge pull request #993 from pwkelley/clar_update Update clar and add reliable rename for Win32
Vicent Martí feea1285 2012-10-18T14:14:37 Merge pull request #995 from nulltoken/fix/issue_994 revparse: properly handle refnames containing a @
nulltoken 5912d74c 2012-10-18T22:25:27 revparse: properly handle refnames containing a @ Fix #994
Philip Kelley c08b8a3a 2012-10-18T14:50:17 Update clar and add reliable rename for Win32
Carlos Martín Nieto b2b571ce 2012-10-18T19:05:24 fetch: declare variables at the top of the block
Vicent Martí 6f6871a9 2012-10-18T09:52:13 Merge pull request #992 from carlosmn/fetch-cancel remote: support fetch cancelation
Carlos Martín Nieto f0d2ddbb 2012-10-18T04:31:03 remote: support fetch cancelation Introduce git_remote_stop() which sets a variable that is checked by the fetch process in a few key places. If this is variable is set, the fetch is aborted.
Russell Belfer 4c47a8bc 2012-10-17T14:14:51 Merge pull request #968 from arrbee/diff-support-typechange Support TYPECHANGE records in status and adjust checkout accordingly
Russell Belfer 52a61bb8 2012-10-17T14:10:23 Fix minor bugs Fixed no-submodule speedup of new checkout code. Fixed missing final update to progress (which may go away, I realize). Fixed unused structure in header and incorrect comment.
Ben Straub 6012e868 2012-10-17T11:55:26 Merge pull request #972 from PaulThompson/separate_strarray Separated git_strarray from common.h. Added doxy comments.
Russell Belfer e48bb71b 2012-10-17T10:44:38 Skip submodule checkout pass if no submodules Skip the third pass of checkout (where submodules are checked out) if the earlier passes found no submodules to be checked out.
Philip Kelley 5300cd75 2012-10-17T09:14:42 Merge pull request #988 from pwkelley/pack-objects Incremental improvements to pack-objects logic
Philip Kelley b4491b99 2012-10-16T16:18:21 Incremental improvements to pack-objects logic Incorporate feedback for incr. improvements to pack-objects
Michael Schubert 70d41f6b 2012-10-16T23:42:01 Fix -Wunused-but-set-variable warning
Vicent Martí 03452b34 2012-10-16T10:54:30 Merge pull request #987 from pwkelley/pthread_cond Support pthread_cond_* on Win32
Vicent Marti 18217e7e 2012-10-16T19:34:29 test: Don't be so picky with failed lookups Not found means not found, and the other way around.
Philip Kelley 5e4f2b5f 2012-10-16T13:18:45 Support pthread_cond_* on Win32
Carlos Martín Nieto a8918418 2012-10-16T17:58:19 config: also free the XDG buffer
Vicent Martí 52748f7b 2012-10-16T08:36:55 Merge pull request #952 from csware/config-locations Config location fixes
Philip Kelley 9e37305a 2012-10-16T08:34:28 Merge pull request #984 from arrbee/fix-fnmatch-and-ignore Fix single file ignores
Philip Kelley ebb86755 2012-10-15T15:58:53 Merge pull request #985 from nulltoken/fix/leaks test: fix some memory leaks
nulltoken add5efe7 2012-10-16T00:49:05 test: fix some memory leaks
Ben Straub 71b79a0a 2012-10-15T15:24:50 Merge pull request #982 from nulltoken/clone/no-checkout clone: Explicit support of no-checkout option
Russell Belfer 52032ae5 2012-10-15T12:48:43 Fix single-file ignore checks To answer if a single given file should be ignored, the path to that file has to be processed progressively checking that there are no intermediate ignored directories in getting to the file in question. This enables that, fixing the broken old behavior, and adds tests to exercise various ignore situations.
Russell Belfer d5a51910 2012-10-11T13:39:53 Import DOS fix for fnmatch Because fnmatch uses recursion, there were some input sequences that cause seriously degenerate behavior. This imports a fix that imposes a max recursion limiter to avoid the worst of it.
Russell Belfer 824d5e4d 2012-10-11T11:58:00 Always use internal fnmatch, not system
Ben Straub 1c3acf14 2012-10-15T12:02:20 Merge pull request #978 from nulltoken/fix/reset-hard reset: prevent hard reset in a bare repository
nulltoken 68206c54 2012-10-13T21:00:45 test: fix some memory leaks
nulltoken fa5d94a0 2012-10-13T20:51:57 reset: prevent hard reset in a bare repository
nulltoken c4f68b32 2012-10-15T07:06:22 clone: fix detection of remote HEAD
nulltoken 4d968f13 2012-10-15T06:12:57 clone: Explicit support of no-checkout option
Vicent Martí 1ddc537c 2012-10-15T10:56:47 Merge pull request #969 from ben/network_category Test category for live network tests
Ben Straub 86a2da6e 2012-10-10T15:10:07 Clone: use libgit2's test repos
Ben Straub 65415ea2 2012-10-10T10:34:26 Tests: add "network" category Split the clone tests into network and no-network suites.
Carlos Martín Nieto 7ae5ab56 2012-10-15T16:35:10 Fix leak in the tests Also introduce the slective ref trimming promised but also missed in the previous commit.
Carlos Martín Nieto 47f44b6e 2012-10-15T13:51:25 refs: loosen the OID parsing We used to require loose references to contain only an OID (possibly after trimming the string). This is however not enough for letting us lookup FETCH_HEAD, which can have a lot of content after the initial OID. Change the parsing rules so that a loose refernce must e at least 40 bytes long and the 41st (if it's there) must be accepted by isspace(3). This makes the trim unnecessary, so only do it for symrefs. This fixes #977.
Philip Kelley 9d9288f4 2012-10-14T12:29:05 Fix buffer overrun in git_buf_put_base64
Ben Straub 80a6e86b 2012-10-11T15:45:26 Merge pull request #974 from nulltoken/EEXISTS Enforce returning of EEXISTS when trying to overwrite a reference
Vicent Martí 26ddcfa4 2012-10-11T09:25:15 Merge pull request #973 from AndrejMitrovic/DBinding Add link to D libgit2 bindings.
Andrej Mitrovic 26127ea7 2012-10-11T18:22:00 Add link to D libgit2 bindings.
nulltoken b73200c1 2012-10-11T14:15:40 tags: cover EEXISTS propagation upon creation
nulltoken 6251de1d 2012-10-11T14:09:27 branches: cover EEXISTS propagation upon moving
nulltoken 62993b61 2012-10-11T14:08:32 branches: propagate EEXISTS upon creation
Paul Thompson b46708aa 2012-10-11T23:04:08 Separated git_strarray from common.h. Added doxy comments.
nulltoken 3548fcf5 2012-10-11T14:00:26 refs: propagate EEXISTS upon renaming
Carlos Martín Nieto a75770fe 2012-10-10T14:57:05 tests: add a test for tag autofollow behaviour Also tell ctest and valgrind to run libgit2_clar with '-iall' so we run the network tests in travis.
Vicent Martí 9206976f 2012-10-10T15:00:32 Merge pull request #971 from arrbee/base64-encoder Add git_buf_put_base64 to buffer API
Carlos Martín Nieto aeba5e17 2012-10-10T23:55:03 http: don't discard the HEAD ref The fix for fetching from empty repositories (22935b06d protocol: don't store flushes; 2012-10-07) forgot to take into account the deletion of the flush pkt in the HTTP transport. As a result, the HEAD ref advertisement where we detect the remote's capabilities was deleted instead. Fix this.
Russell Belfer 2d3579be 2012-10-10T14:54:31 Add git_buf_put_base64 to buffer API
Russell Belfer 8ea05f3f 2012-10-09T15:25:58 Fix clar issue
Russell Belfer 0bc47b63 2012-10-09T15:13:00 Update to latest clar
Russell Belfer fe67e404 2012-10-09T14:35:24 Move enum comments next to actual values
Vicent Martí 2306ba10 2012-10-09T13:34:40 Merge pull request #803 from schu/gsoc-pack-objects [GSoC] RFC: pack objects
Michael Schubert 0cf49e10 2012-10-09T21:49:48 fixup! gsoc-pack-objects WIP Use khash instead of git.git's hashing algorithm.
Michael Schubert 0a32dca5 2012-08-19T22:26:32 gsoc-pack-objects WIP
Michael Schubert ec1d42b7 2012-08-19T22:22:07 Add diff-delta code from git.git
Michael Schubert e3f8d58d 2012-08-14T23:07:54 indexer: do not require absolute path
Michael Schubert fa16a6ec 2012-08-01T11:35:26 Enable pthread condition vars
Michael Schubert 2f05339e 2012-07-10T08:53:05 Add git_tag_foreach
Michael Schubert edca6c8f 2012-07-01T19:44:22 git_odb_object_free: don't segfault w/ arg == NULL
Michael Schubert 4bc1a30f 2012-06-10T22:04:24 util: add git__compress()
Russell Belfer 0d64bef9 2012-10-05T15:56:57 Add complex checkout test and then fix checkout This started as a complex new test for checkout going through the "typechanges" test repository, but that revealed numerous issues with checkout, including: * complete failure with submodules * failure to create blobs with exec bits * problems when replacing a tree with a blob because the tree "example/" sorts after the blob "example" so the delete was being processed after the single file blob was created This fixes most of those problems and includes a number of other minor changes that made it easier to do that, including improving the TYPECHANGE support in diff/status, etc.
Russell Belfer f3a04e0f 2012-10-02T16:13:17 Test data with lots of type changes