Ben Straub
|
387d01b857
|
Implemented rev-parse "^{type}" syntax.
|
2012-05-11 11:30:45 -07:00 |
|
Ben Straub
|
9d7bdf7119
|
Implemented rev-parse's "^{}" syntax.
|
2012-05-11 11:30:45 -07:00 |
|
Ben Straub
|
f597ea8978
|
Implemented partial caret syntax for rev-parse.
Supported forms:
- "^n"
- "^0"
- "^"
Still missing: all of the "^{…}" variants.
|
2012-05-11 11:30:45 -07:00 |
|
Ben Straub
|
023c6f69ed
|
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.
|
2012-05-11 11:30:45 -07:00 |
|
Ben Straub
|
ac250c56c7
|
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)
|
2012-05-11 11:30:45 -07:00 |
|