Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rev-parse: now capturing and reporting regex errors. | Ben Straub | 2012-05-11 | 1 | -5/+14 | |
| | ||||||
* | Rev-parse: now @{-N} syntax searches in the right direction! | Ben Straub | 2012-05-11 | 1 | -13/+19 | |
| | ||||||
* | Now properly handling branches with "-g" in their names. | Ben Straub | 2012-05-11 | 1 | -3/+3 | |
| | ||||||
* | Simplifying revparse_lookup_fully_qualified_ref. | Ben Straub | 2012-05-11 | 1 | -16/+4 | |
| | ||||||
* | Rev-parse: @{time} syntax. | Ben Straub | 2012-05-11 | 1 | -34/+97 | |
| | | | | | | Ported date.c (for approxidate_careful) from git.git revision aa39b85. Trimmed out the parts we're not using. | |||||
* | Rev-parse: "ref^{/regex}" syntax. | Ben Straub | 2012-05-11 | 1 | -6/+47 | |
| | ||||||
* | Rev-parse: fixing double-freeing. Thanks, Visual Studio! | Ben Straub | 2012-05-11 | 1 | -1/+1 | |
| | ||||||
* | Rev-parse: "ref@{upstream}" syntax. | Ben Straub | 2012-05-11 | 1 | -1/+23 | |
| | | | | | Added tracking configuration to the test repo's config to support unit tests. | |||||
* | Fixed last 2 memory leaks in rev-parse. | Ben Straub | 2012-05-11 | 1 | -13/+13 | |
| | ||||||
* | Rev-parse: plugging (most) memory leaks. | Ben Straub | 2012-05-11 | 1 | -21/+24 | |
| | ||||||
* | Incorporating feedback from @tanoku. | Ben Straub | 2012-05-11 | 1 | -8/+9 | |
| | | | | Removed repeated strlen's, and unnecessary loop-termination variable. | |||||
* | Implementing rev-parse's ref@{n} and @{-n} syntaxes. | Ben Straub | 2012-05-11 | 1 | -16/+92 | |
| | | | | | Added some reflags to the test repo to support unit tests. | |||||
* | Implementing rev-parse's "ref~2" syntax. | Ben Straub | 2012-05-11 | 1 | -0/+49 | |
| | | | | | Also extended the test suite to include chaining operators, e.g. "master^2~3^4". | |||||
* | Removed goto from state machine loop. | Ben Straub | 2012-05-11 | 1 | -22/+17 | |
| | ||||||
* | Returning error if dereferencing operation fails. | Ben Straub | 2012-05-11 | 1 | -1/+4 | |
| | ||||||
* | Implemented rev-parse "^{type}" syntax. | Ben Straub | 2012-05-11 | 1 | -14/+14 | |
| | ||||||
* | Implemented rev-parse's "^{}" syntax. | Ben Straub | 2012-05-11 | 1 | -15/+61 | |
| | ||||||
* | Implemented partial caret syntax for rev-parse. | Ben Straub | 2012-05-11 | 1 | -7/+48 | |
| | | | | | | | | | Supported forms: - "^n" - "^0" - "^" Still missing: all of the "^{…}" variants. | |||||
* | Simpler states and initial structure. | Ben Straub | 2012-05-11 | 1 | -27/+123 | |
| | | | | | | New tests for "foo^2" syntax, but they don't pass yet. Support for chaining these, i.e. "foo^2~3^{u}~1' is starting to shape up. | |||||
* | First stab at implementation of rev-parse. | Ben Straub | 2012-05-11 | 1 | -0/+175 | |
This version supports refspecs of these kinds: - Full & partial SHAs - Output from "git describe" - "/refs/heads/master" (full ref names) - "master" (partial ref names) - "FETCH_HEAD" (named heads) |