summaryrefslogtreecommitdiff
path: root/src/revparse.c
Commit message (Collapse)AuthorAgeFilesLines
...
* revparse: deploy git_object_peel()nulltoken2012-07-171-55/+4
|
* revparse: enhance parsing enginenulltoken2012-07-171-469/+620
|
* revparse: fix propagation of errornulltoken2012-07-121-1/+1
|
* revparse: only allow decimal specifiers in carete and tilde synatxnulltoken2012-07-121-2/+2
| | | | | | | | passing 0 to git_strol(32|64) let the implementation guess if it's dealing with an octal number or a decimal one. Let's make it safe and ensure that both 'HEAD@{010}' and 'HEAD@{10}' point at the same commit.
* revparse: fix disambiguation of refs and abbrev oidsnulltoken2012-07-121-7/+7
|
* revparse: simplify handling of the colon syntaxnulltoken2012-07-121-71/+20
|
* revparse: deploy git_reference_remote_tracking_from_branch()nulltoken2012-07-121-26/+6
|
* revparse: deploy git_commit_nth_gen_ancestor()nulltoken2012-07-121-21/+2
|
* revparse: simplify the parsing of described objectnulltoken2012-07-121-14/+12
|
* revparse: unfound reference return ENOTFOUNDnulltoken2012-07-071-24/+50
|
* revparse: do not segfault when retrieving the last entrynulltoken2012-07-071-1/+1
|
* revparse: fix disambiguation of refsnulltoken2012-07-071-84/+98
|
* revparse: unfound previous head return ENOTFOUNDnulltoken2012-07-071-0/+2
|
* revparse: only allow decimal reflog ordinal specsnulltoken2012-07-071-2/+2
| | | | | | | | passing 0 to git_strol(32|64) let the implementation guess if it's dealing with an octal number or a decimal one. Let's make it safe and ensure that both 'HEAD@{010}' and 'HEAD@{10}' point at the same commit.
* revparse: leverage git__isdigit()nulltoken2012-07-071-4/+5
|
* revparse: detect incorrect "refname@{-n}" syntaxnulltoken2012-07-071-16/+13
|
* revparse: fix parsing of date specifiersnulltoken2012-07-021-18/+5
|
* revparse: unfound reflog entry returns ENOTFOUNDnulltoken2012-06-291-1/+1
|
* revparse: unfound reflog ref returns ENOTFOUNDnulltoken2012-06-291-2/+3
|
* revparse: unfound partially-named ref returns ENOTFOUNDnulltoken2012-06-291-1/+1
|
* revparse: unfound nth parent returns ENOTFOUNDnulltoken2012-06-281-1/+1
|
* revparse: handle specs with caret and colonnulltoken2012-06-281-0/+4
|
* revparse: unfound treepath returns ENOTFOUNDnulltoken2012-06-281-3/+25
|
* revparse: return trees through the "colon" syntaxnulltoken2012-06-281-4/+12
|
* revparse: replace spaces with tabsnulltoken2012-06-281-671/+671
|
* Fix indentation.Ben Straub2012-06-191-6/+6
|
* Avoid uninitialized variable error.Ben Straub2012-06-191-2/+2
|
* Plug a few leaksCarlos Martín Nieto2012-06-201-0/+2
|
* revparse: handle a non-existent path in the colon syntaxCarlos Martín Nieto2012-06-191-1/+6
| | | | | | oid_for_tree_path may not always find the path in the tree, in which case we need to return an error. The current code doesn't do this and results in undefined behavior.
* Fix potential segfault in revparse.Ben Straub2012-06-191-1/+6
|
* clar: Fix warningsVicent Marti2012-06-191-1/+1
|
* revparse: remove unnecessary GIT_BEGIN_DECLMichael Schubert2012-06-121-5/+0
|
* misc: Fix warnings from PVS Studio trialVicent Martí2012-06-071-1/+1
|
* Fixing rev-parse-induced Travis errors.Ben Straub2012-06-071-0/+5
|
* Prefer git__free (again).Ben Straub2012-06-071-1/+1
|
* Rename internal function.Ben Straub2012-06-071-2/+2
|
* Remove 'git__' prefix from a static function.Ben Straub2012-06-061-2/+2
|
* Rev-parse: stop referencing freed memory.Ben Straub2012-06-061-6/+7
| | | | | | Converted an internal utility to return an oid, rather than a tree entry (whose lifetime is tied to the parent tree, which was freed before returning).
* Prefer git__free() to free().Ben Straub2012-06-061-1/+1
|
* Move git__date_parse declaration to util.h.Ben Straub2012-06-061-1/+0
|
* Fix signatures for tree calls.Ben Straub2012-06-061-4/+4
|
* Rev-parse: implement ":/foo" syntax.Ben Straub2012-06-011-5/+47
|
* Rev-parse: Plug memory leaks.Ben Straub2012-05-311-0/+4
|
* Rev-parse: add "tag:README" syntax.Ben Straub2012-05-301-0/+60
|
* Approxidate: use libgit2 naming/calling conventions.Ben Straub2012-05-301-2/+2
| | | | | Also use git_time_t (64-bit integer) for time values, although the 2038 problem is still present on 32-bit machines.
* Fix date.c build in msvc.Ben Straub2012-05-151-3/+7
| | | | | | Ported the win32 implementations of gmtime_r, localtime_r, and gettimeofday to be part of the posix compatibility layer, and fixed git_signature_now to use them.
* Rev-parse: better error handling for chaining.Ben Straub2012-05-111-1/+4
| | | | | Fixed an error where "nonexistant^N" or similar would fall into an assert. This now properly returns an error.
* Rev-parse: proper error checking.Ben Straub2012-05-111-22/+24
|
* Rev-parse: regex check for "git describe" output.Ben Straub2012-05-111-0/+17
|
* Plugging memory leak.Ben Straub2012-05-111-0/+2
|