summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add tag exampleJiri Pospisil2014-03-053-1/+316
| |
* | Merge completed: resolve the conflict with the upstreamSun He2014-03-061-0/+4
|\ \ | |/
| * examples/diff: Add minimal, patience diff options.Brian Gesiak2014-03-051-0/+4
| | | | | | | | | | | | | | - 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.
* | fix the output format of diffSun He2014-03-051-2/+2
| |
* | Add the --shortstat flag to examples/diff.cSun He2014-03-051-1/+51
|/
* - examples CMakeLists.txt reverted to previous stateMiha Ravšelj2014-03-031-5/+1
|
* cmake examples change so that general.c is off by defaultMiha2014-03-031-1/+5
|
* - general.c reverted to original( before pr state )Miha2014-03-031-39/+43
|
* Merge remote-tracking branch 'remotes/upstream/development' into developmentMiha2014-03-032-7/+16
|\
| * Fix warnings and code style issuesRussell Belfer2014-02-271-7/+11
| |
| * Document enumerator and rewordingJuan Rubén2014-02-241-1/+1
| |
| * Add option to limit blame to first parentJuan Rubén2014-02-231-0/+5
| |
* | - BUGFIX #2133 (@fourplusone) in smart_protocol.cMiha2014-02-256-48/+45
|/ | | | | | - 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
* replace 'out' with 'patch',replace the literal tabs with '\t'.rocky-luo2014-02-091-6/+6
|
* add example for diff with --numstatrocky-luo2014-02-081-8/+38
|
* Fix a few references to changed function signaturesBen Straub2014-02-051-1/+1
|
* Merge pull request #2075 from libgit2/cmn/leftover-oidVicent Marti2014-01-271-1/+1
|\ | | | | Leftover OID -> ID changes
| * index: rename an entry's id to 'id'Carlos Martín Nieto2014-01-251-1/+1
| | | | | | | | This was not converted when we converted the rest, so do it now.
* | Merge pull request #2078 from linquize/msvcVicent Marti2014-01-271-2/+1
|\ \ | | | | | | MSVC doesn't like modern code neither
| * | MSVC doesn't like modern code neitherLinquize2014-01-271-2/+1
| |/
* | Make blame example compile on MSVCLinquize2014-01-271-0/+5
|/
* Update files that reference tests-clarBen Straub2013-11-142-2/+2
|
* Fix warningsLinquize2013-11-121-1/+1
|
* Merge pull request #1956 from libgit2/cmn/fetch-default-headVicent Martí2013-11-111-12/+14
|\ | | | | Remote revamp (director's cut)
| * remote: make _ls return the list directlyCarlos Martín Nieto2013-11-111-12/+14
| | | | | | | | | | | | | | | | | | | | | | 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.
* | update example to new packfile creation signatureEdward Thomson2013-11-071-1/+1
| |
* | blame sample: usage commentBen Straub2013-11-041-0/+1
| |
* | Fix warningsBen Straub2013-11-041-2/+2
| |
* | Reorganize and doc-commentify blame sample.Ben Straub2013-11-041-69/+96
| |
* | Standardize layout of blame sampleBen Straub2013-11-041-36/+47
| |
* | Merge pull request #1317 from libgit2/blameRussell Belfer2013-11-043-1/+167
|\ \ | | | | | | Blame Canada
| * \ Merge remote-tracking branch 'libgit2/development' into blameBen Straub2013-10-285-52/+63
| |\ \
| * | | Fix post-line-range iterationBen Straub2013-10-101-1/+5
| | | |
| * | | Include signatures in blame hunksBen Straub2013-10-101-6/+4
| | | |
| * | | Only show lines that had blame run on themBen Straub2013-10-101-12/+14
| | | |
| * | | Be more flexible with argument order and formatBen Straub2013-10-101-8/+31
| | | |
| * | | Ignore more built examplesBen Straub2013-10-091-0/+5
| | | |
| * | | Simplify loading blobBen Straub2013-10-091-13/+11
| | | |
| * | | Allow null bytes in blobBen Straub2013-10-091-10/+11
| | | |
| * | | Initialize threading, fix broken strncmpBen Straub2013-10-091-1/+4
| | | |
| * | | Un-remove init exampleBen Straub2013-10-091-1/+1
| | | |
| * | | Merge branch 'development' into blameBen Straub2013-10-033-6/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: include/git2.h
| * | | | Fix typoBen Straub2013-09-291-1/+1
| | | | |
| * | | | Merge branch 'development' into blameBen Straub2013-09-252-1/+5
| |\ \ \ \
| * | | | | Add blame exampleBen Straub2013-09-163-1/+133
| | | | | |
* | | | | | Merge pull request #1934 from libgit2/relicense-examplesVicent Martí2013-11-0414-34/+250
|\ \ \ \ \ \ | | | | | | | | | | | | | | Relicense examples under CC0
| * | | | | | Replace copyright topmatter in example filesBen Straub2013-11-0212-33/+125
| | | | | | |
| * | | | | | Relicense examples under CC0Ben Straub2013-11-012-1/+125
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #1929 from libgit2/rb/misc-diff-fixesVicent Martí2013-11-041-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix some observed problems with incorrect diffs
| * | | | | | Make diff and status perform soft index reloadRussell Belfer2013-11-011-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.