Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-01 | Add some funny options for debugging status | Russell 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-01 | Merge pull request #2228 from mekishizufu/example_short_id | Vicent Marti | |
Use git_object_short_id in examples | |||
2014-04-01 | Merge pull request #2206 from libgit2/cmn/inmemory-swap-order | Vicent Marti | |
Rename in-memory remote to anonymous and swap url and fetch order | |||
2014-04-01 | remote: rename inmemory to anonymous and swap url and fetch order | Carlos 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-01 | examples: Use git_object_short_id | Jiri Pospisil | |
2014-03-25 | Make submodules externally refcounted | Russell 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-07 | Merge pull request #2028 from libgit2/options-names | Vicent Marti | |
Rename options structures | |||
2014-03-07 | Merge pull request #2153 from mekishizufu/tag_example | Russell Belfer | |
Add a tag example | |||
2014-03-06 | git_checkout_opts -> git_checkout_options | Ben Straub | |
2014-03-06 | Merge completed: resolve the conflict with the upstream | Sun He | |
2014-03-05 | Move all variable declarations to the top of the block | Jiri Pospisil | |
2014-03-05 | Add tag example | Jiri Pospisil | |
2014-03-05 | fix the output format of diff | Sun He | |
2014-03-05 | Add the --shortstat flag to examples/diff.c | Sun He | |
2014-03-05 | examples/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 state | Miha Ravšelj | |
2014-03-03 | cmake examples change so that general.c is off by default | Miha | |
2014-03-03 | - general.c reverted to original( before pr state ) | Miha | |
2014-03-03 | Merge remote-tracking branch 'remotes/upstream/development' into development | Miha | |
2014-02-28 | Fix warnings and code style issues | Russell Belfer | |
2014-02-25 | - BUGFIX #2133 (@fourplusone) in smart_protocol.c | Miha | |
- 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-25 | Document enumerator and rewording | Juan Rubén | |
2014-02-24 | Add option to limit blame to first parent | Juan Rubén | |
2014-02-09 | replace 'out' with 'patch',replace the literal tabs with '\t'. | rocky-luo | |
2014-02-08 | add example for diff with --numstat | rocky-luo | |
2014-02-06 | Fix a few references to changed function signatures | Ben Straub | |
2014-01-27 | Merge pull request #2075 from libgit2/cmn/leftover-oid | Vicent Marti | |
Leftover OID -> ID changes | |||
2014-01-27 | Merge pull request #2078 from linquize/msvc | Vicent Marti | |
MSVC doesn't like modern code neither | |||
2014-01-27 | Make blame example compile on MSVC | Linquize | |
2014-01-27 | MSVC doesn't like modern code neither | Linquize | |
2014-01-25 | index: 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-15 | Update files that reference tests-clar | Ben Straub | |
2013-11-12 | Fix warnings | Linquize | |
2013-11-11 | Merge pull request #1956 from libgit2/cmn/fetch-default-head | Vicent Martí | |
Remote revamp (director's cut) | |||
2013-11-11 | remote: make _ls return the list directly | Carlos 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-07 | update example to new packfile creation signature | Edward Thomson | |
2013-11-05 | blame sample: usage comment | Ben Straub | |
2013-11-05 | Fix warnings | Ben Straub | |
2013-11-05 | Reorganize and doc-commentify blame sample. | Ben Straub | |
2013-11-05 | Standardize layout of blame sample | Ben Straub | |
2013-11-04 | Merge pull request #1317 from libgit2/blame | Russell Belfer | |
Blame Canada | |||
2013-11-04 | Merge pull request #1934 from libgit2/relicense-examples | Vicent Martí | |
Relicense examples under CC0 | |||
2013-11-04 | Merge pull request #1929 from libgit2/rb/misc-diff-fixes | Vicent Martí | |
Fix some observed problems with incorrect diffs | |||
2013-11-03 | examples: doc update | Carlos 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-02 | Replace copyright topmatter in example files | Ben Straub | |
2013-11-01 | Relicense examples under CC0 | Ben Straub | |
2013-11-01 | Make diff and status perform soft index reload | Russell 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-01 | Merge pull request #1916 from libgit2/simplify-examples | Vicent Martí | |
Fix examples to make the important stuff more obvious | |||
2013-11-01 | Merge pull request #1918 from libgit2/cmn/indexer-naming | Vicent Martí | |
indexer: remove the stream infix | |||
2013-11-01 | Fix typos | Ben Straub | |