src/revparse.c


Log

Author Commit Date CI Message
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 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 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 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)
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.