src/revparse.c


Log

Author Commit Date CI Message
Ben Straub 7e79d389 2012-05-10T15:05:19 Rev-parse: regex check for "git describe" output.
Ben Straub b41384b4 2012-05-10T14:14:09 Plugging memory leak.
Ben Straub 2b35c45f 2012-05-10T13:40:53 Rev-parse: now @{-N} syntax searches in the right direction!
Ben Straub a346992f 2012-05-10T09:47:14 Rev-parse: @{time} syntax. Ported date.c (for approxidate_careful) from git.git revision aa39b85. Trimmed out the parts we're not using.
Ben Straub 46c2ead0 2012-05-10T13:39:34 Now properly handling branches with "-g" in their names.
Ben Straub c8a33547 2012-05-10T14:12:30 Rev-parse: now capturing and reporting regex errors.
Ben Straub ec6a632a 2012-05-10T13:21:58 Simplifying revparse_lookup_fully_qualified_ref.
Ben Straub 886f183a 2012-05-07T14:26:40 Rev-parse: "ref^{/regex}" syntax.
Ben Straub bae780e0 2012-05-04T10:31:57 Rev-parse: fixing double-freeing. Thanks, Visual Studio!
Ben Straub a6346302 2012-05-03T13:58:46 Rev-parse: "ref@{upstream}" syntax. Added tracking configuration to the test repo's config to support unit tests.
Ben Straub a51bdbcf 2012-04-30T20:21:45 Implementing rev-parse's ref@{n} and @{-n} syntaxes. Added some reflags to the test repo to support unit tests.
Ben Straub 38533d5a 2012-04-27T14:11:12 Implementing rev-parse's "ref~2" syntax. Also extended the test suite to include chaining operators, e.g. "master^2~3^4".
Ben Straub e0887d81 2012-04-27T14:10:03 Removed goto from state machine loop.
Ben Straub 7149a625 2012-04-27T13:53:28 Returning error if dereferencing operation fails.
Ben Straub 65bc26d5 2012-05-03T10:29:41 Fixed last 2 memory leaks in rev-parse.
Ben Straub 27ee8483 2012-05-02T14:41:19 Rev-parse: plugging (most) memory leaks.
Ben Straub e88b8bd5 2012-05-01T14:37:11 Incorporating feedback from @tanoku. Removed repeated strlen's, and unnecessary loop-termination variable.
Ben Straub 387d01b8 2012-04-27T11:47:29 Implemented rev-parse "^{type}" syntax.
Ben Straub 9d7bdf71 2012-04-26T18:15:43 Implemented rev-parse's "^{}" syntax.
Ben Straub f597ea89 2012-04-26T13:06:46 Implemented partial caret syntax for rev-parse. Supported forms: - "^n" - "^0" - "^" Still missing: all of the "^{…}" variants.
Ben Straub 023c6f69 2012-04-25T19:08:17 Simpler states and initial structure. 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.
Ben Straub ac250c56 2012-04-25T16:24:22 First stab at implementation of rev-parse. 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)