summaryrefslogtreecommitdiff
path: root/src/revparse.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Deprecate git_revparse_single and _rangelikeBen Straub2013-04-091-26/+1
| |
| * Implement unified git_revparseBen Straub2013-04-081-6/+58
| |
* | Merge pull request #1450 from carlosmn/branch-upstreamVicent Martí2013-04-111-1/+1
|\ \ | | | | | | Branch upstream configuration
| * | branch: rename 'tracking' to 'upstream'Carlos Martín Nieto2013-03-301-1/+1
| | | | | | | | | | | | | | | The term 'tracking' is overloaded. Help distinguish what we mean by using 'upstream' for this part of the library.
* | | object: Export git_object_dupVicent Marti2013-04-101-1/+1
| |/ |/|
* | Merge remote-tracking branch 'gnprice/revwalk' into developmentVicent Marti2013-04-071-0/+25
|\ \ | |/ |/|
| * revparse: Parse range-like syntaxGreg Price2013-04-061-0/+25
| | | | | | | | Signed-off-by: Greg Price <price@mit.edu>
* | Several warnings detected by static code analyzer fixedArkadiy Shapkin2013-03-181-3/+3
| | | | | | | | | | | | | | Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0
* | immutable references and a pluggable ref databaseEdward Thomson2013-03-071-1/+2
|/
* revparse: Lookup sha before branchnulltoken2013-02-031-6/+29
|
* revparse: Lookup branch before described tagnulltoken2013-02-031-7/+7
| | | | Fix #1306
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* revparse: Deploy EINVALIDSPEC usagenulltoken2012-12-011-39/+46
|
* Fix warnings on Win64 buildRussell Belfer2012-11-271-20/+19
|
* Rename ref and reflog apis for consistencyBen Straub2012-11-271-6/+6
|
* Fix a couple of warningsMichael Schubert2012-11-181-1/+1
|
* reflog: make entry_byindex() and drop() git compliantnulltoken2012-11-171-3/+3
| | | | | Passing 0 as the index now retrieves the most recent entry instead of the oldest one.
* revparse: properly handle refnames containing a @nulltoken2012-10-181-10/+14
| | | | Fix #994
* refs: use constants for well-known namesnulltoken2012-10-071-6/+6
|
* refs: introduce git_reference_is_valid_name()nulltoken2012-09-251-0/+5
|
* Diff iteratorsRussell Belfer2012-09-051-1/+1
| | | | | | | | | | | This refactors the diff output code so that an iterator object can be used to traverse and generate the diffs, instead of just the `foreach()` style with callbacks. The code has been rearranged so that the two styles can still share most functions. This also replaces `GIT_REVWALKOVER` with `GIT_ITEROVER` and uses that as a common error code for marking the end of iteration when using a iterator style of object.
* Merge remote-tracking branch 'nulltoken/topic/amd64-compat' into developmentVicent Marti2012-08-021-7/+7
|\ | | | | | | | | | | | | Conflicts: src/netops.c src/netops.h src/oid.c
| * portability: Improve x86/amd64 compatibilitynulltoken2012-07-241-7/+7
| |
* | branch: introduce git_branch_tracking()nulltoken2012-07-241-1/+1
|/
* revparse: initialize 'parsed' in case the user doesn't give a number with ↵Carlos Martín Nieto2012-07-231-1/+1
| | | | the @-notation
* revparse: don't allow an empty stringCarlos Martín Nieto2012-07-231-3/+3
| | | | | Asking the library for "" used to give HEAD, but that's trying to impose a default at the wrong layer. Make it fail.
* 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
|