Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-01Add some funny options for debugging statusRussell Belfer
This allows you to use a --repeat option to run status over and over and see how the output changes as you make local directory changes without reopening the git_repository object each time. Also, adds a flag to explicitly list the submodules before status.
2014-04-01Merge pull request #2228 from mekishizufu/example_short_idVicent Marti
Use git_object_short_id in examples
2014-04-01Merge pull request #2206 from libgit2/cmn/inmemory-swap-orderVicent Marti
Rename in-memory remote to anonymous and swap url and fetch order
2014-04-01remote: rename inmemory to anonymous and swap url and fetch orderCarlos Martín Nieto
The order in this function is the opposite to what create_with_fetchspec() has, so change this one, as url-then-refspec is what git does. As we need to break compilation and the swap doesn't do that, let's take this opportunity to rename in-memory remotes to anonymous as that's really what sets them apart.
2014-04-01examples: Use git_object_short_idJiri Pospisil
2014-03-25Make submodules externally refcountedRussell Belfer
`git_submodule` objects were already refcounted internally in case the submodule name was different from the path at which it was stored. This makes that refcounting externally used as well, so `git_submodule_lookup` and `git_submodule_add_setup` return an object that requires a `git_submodule_free` when done.
2014-03-07Merge pull request #2028 from libgit2/options-namesVicent Marti
Rename options structures
2014-03-07Merge pull request #2153 from mekishizufu/tag_exampleRussell Belfer
Add a tag example
2014-03-06git_checkout_opts -> git_checkout_optionsBen Straub
2014-03-06Merge completed: resolve the conflict with the upstreamSun He
2014-03-05Move all variable declarations to the top of the blockJiri Pospisil
2014-03-05Add tag exampleJiri Pospisil
2014-03-05fix the output format of diffSun He
2014-03-05Add the --shortstat flag to examples/diff.cSun He
2014-03-05examples/diff: Add minimal, patience diff options.Brian Gesiak
- Add minimal, patience diff options to diff example. libgit2 `diff_xdiff.git_xdiff_init` already supports these flags, so no additional change is necessary. - Remove minimal and patience flag addition from project list.
2014-03-03- examples CMakeLists.txt reverted to previous stateMiha Ravšelj
2014-03-03cmake examples change so that general.c is off by defaultMiha
2014-03-03- general.c reverted to original( before pr state )Miha
2014-03-03Merge remote-tracking branch 'remotes/upstream/development' into developmentMiha
2014-02-28Fix warnings and code style issuesRussell Belfer
2014-02-25- BUGFIX #2133 (@fourplusone) in smart_protocol.cMiha
- added MSVC cmake definitions to disable warnings - general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows - some MSVC reported warning fixes
2014-02-25Document enumerator and rewordingJuan Rubén
2014-02-24Add option to limit blame to first parentJuan Rubén
2014-02-09replace 'out' with 'patch',replace the literal tabs with '\t'.rocky-luo
2014-02-08add example for diff with --numstatrocky-luo
2014-02-06Fix a few references to changed function signaturesBen Straub
2014-01-27Merge pull request #2075 from libgit2/cmn/leftover-oidVicent Marti
Leftover OID -> ID changes
2014-01-27Merge pull request #2078 from linquize/msvcVicent Marti
MSVC doesn't like modern code neither
2014-01-27Make blame example compile on MSVCLinquize
2014-01-27MSVC doesn't like modern code neitherLinquize
2014-01-25index: rename an entry's id to 'id'Carlos Martín Nieto
This was not converted when we converted the rest, so do it now.
2013-11-15Update files that reference tests-clarBen Straub
2013-11-12Fix warningsLinquize
2013-11-11Merge pull request #1956 from libgit2/cmn/fetch-default-headVicent Martí
Remote revamp (director's cut)
2013-11-11remote: make _ls return the list directlyCarlos Martín Nieto
The callback-based method of listing remote references dates back to the beginning of the network code's lifetime, when we didn't know any better. We need to keep the list around for update_tips() after disconnect() so let's make use of this to simply give the user a pointer to the array so they can write straightforward code instead of having to go through a callback.
2013-11-07update example to new packfile creation signatureEdward Thomson
2013-11-05blame sample: usage commentBen Straub
2013-11-05Fix warningsBen Straub
2013-11-05Reorganize and doc-commentify blame sample.Ben Straub
2013-11-05Standardize layout of blame sampleBen Straub
2013-11-04Merge pull request #1317 from libgit2/blameRussell Belfer
Blame Canada
2013-11-04Merge pull request #1934 from libgit2/relicense-examplesVicent Martí
Relicense examples under CC0
2013-11-04Merge pull request #1929 from libgit2/rb/misc-diff-fixesVicent Martí
Fix some observed problems with incorrect diffs
2013-11-03examples: doc updateCarlos Martín Nieto
Update the explanation to reflect our use of git_status_list_new() and make the breaks in rocco more meaningful. Clarify why GIT_STATUS_CURRENT and index_to_workdir don't always imply each other. Fixes #1740.
2013-11-02Replace copyright topmatter in example filesBen Straub
2013-11-01Relicense examples under CC0Ben Straub
2013-11-01Make diff and status perform soft index reloadRussell Belfer
This changes `git_index_read` to have two modes - a hard index reload that always resets the index to match the on-disk data (which was the old behavior) and a soft index reload that uses the timestamp / file size information and only replaces the index data if the file on disk has been modified. This then updates the git_status code to do a soft reload unless the new GIT_STATUS_OPT_NO_REFRESH flag is passed in. This also changes the behavior of the git_diff functions that use the index so that when an index is not explicitly passed in (i.e. when the functions call git_repository_index for you), they will also do a soft reload for you. This intentionally breaks the file signature of git_index_read because there has been some confusion about the behavior previously and it seems like all existing uses of the API should probably be examined to select the desired behavior.
2013-11-01Merge pull request #1916 from libgit2/simplify-examplesVicent Martí
Fix examples to make the important stuff more obvious
2013-11-01Merge pull request #1918 from libgit2/cmn/indexer-namingVicent Martí
indexer: remove the stream infix
2013-11-01Fix typosBen Straub