summaryrefslogtreecommitdiff
path: root/examples/rev-list.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename git_threads_ to git_libgit2_Carlos Martín Nieto2014-11-081-2/+2
| | | | | | This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now.
* Factor 40 and 41 constants from source.Ciro Santilli2014-09-161-2/+2
|
* Replace copyright topmatter in example filesBen Straub2013-11-021-3/+11
|
* rev-list.c example: use common utils, reorganizeBen Straub2013-10-301-34/+28
|
* Fix trailing whitespacesnulltoken2013-05-151-1/+0
|
* Fix examplesvmg/unified-revisionVicent Marti2013-04-161-9/+11
|
* Clean up example code.Ben Straub2013-04-151-3/+3
|
* Change git_revparse to output git_object pointersBen Straub2013-04-151-6/+10
| | | | This will probably prevent many lookup/free operations in calling code.
* Deprecate git_revparse_single and _rangelikeBen Straub2013-04-091-15/+13
|
* examples: rev-listGreg Price2013-04-061-0/+116
This demonstrates parts of the interface for specifying revisions that Git users are familiar with from 'git rev-list', 'git log', and other Git commands. A similar query interface is used in out-of-core command-line programs that browse a Git repo (like 'tig'), and may be useful for an 'advanced search' interface in GUI or web applications. In this version, we parse all the query modifiers we can support with the existing logic in revwalk: basic include/exclude commits, and the ordering flags. More logic will be required to support '--grep', '--author', the pickaxe '-S', etc. Signed-off-by: Greg Price <price@mit.edu>