nulltoken
|
0d23c62c48
|
revparse: handle specs with caret and colon
|
2012-06-28 19:12:41 +02:00 |
|
nulltoken
|
5b68ba7e15
|
revparse: unfound treepath returns ENOTFOUND
|
2012-06-28 19:12:40 +02:00 |
|
nulltoken
|
faaa7c517c
|
revparse: return trees through the "colon" syntax
|
2012-06-28 19:12:40 +02:00 |
|
nulltoken
|
e28dd29b6e
|
revparse: replace spaces with tabs
|
2012-06-28 19:12:39 +02:00 |
|
Ben Straub
|
eb6bc45f6d
|
Avoid uninitialized variable error.
|
2012-06-19 21:11:48 -07:00 |
|
Ben Straub
|
2c90145aad
|
Fix potential segfault in revparse.
|
2012-06-19 09:25:55 -07:00 |
|
Ben Straub
|
e272efcb20
|
Tests: wrap 'getenv' and friends for Win32 tests.
|
2012-06-08 11:24:37 -07:00 |
|
Ben Straub
|
763b838152
|
Fixing rev-parse-induced Travis errors.
|
2012-06-07 13:22:50 -07:00 |
|
Ben Straub
|
734efe4b8e
|
Rev-parse: implement ":/foo" syntax.
|
2012-06-01 14:18:52 -07:00 |
|
Ben Straub
|
2497106f91
|
Rev-parse: add test with deeper path.
|
2012-06-01 11:41:54 -07:00 |
|
Ben Straub
|
244d2f6b80
|
Rev-parse: add "tag:README" syntax.
|
2012-05-30 16:52:11 -07:00 |
|
Ben Straub
|
7c22e72ba6
|
Removing test whose results are platform-dependent.
|
2012-05-11 12:21:58 -07:00 |
|
Ben Straub
|
72b86bae50
|
Rev-parse: better error handling for chaining.
Fixed an error where "nonexistant^N" or similar
would fall into an assert. This now properly returns
an error.
|
2012-05-11 11:58:02 -07:00 |
|
Ben Straub
|
92ad5a5cda
|
Rebasing onto libgit2/development: cleanup.
|
2012-05-11 11:55:20 -07:00 |
|
Ben Straub
|
c8a33547a0
|
Rev-parse: now capturing and reporting regex errors.
|
2012-05-11 11:35:50 -07:00 |
|
Ben Straub
|
46c2ead05d
|
Now properly handling branches with "-g" in their names.
|
2012-05-11 11:35:50 -07:00 |
|
Ben Straub
|
a346992f7e
|
Rev-parse: @{time} syntax.
Ported date.c (for approxidate_careful) from git.git
revision aa39b85. Trimmed out the parts we're not
using.
|
2012-05-11 11:35:50 -07:00 |
|
Ben Straub
|
886f183ac3
|
Rev-parse: "ref^{/regex}" syntax.
|
2012-05-11 11:31:30 -07:00 |
|
Ben Straub
|
a6346302e6
|
Rev-parse: "ref@{upstream}" syntax.
Added tracking configuration to the test repo's
config to support unit tests.
|
2012-05-11 11:30:47 -07:00 |
|
Ben Straub
|
27ee848397
|
Rev-parse: plugging (most) memory leaks.
|
2012-05-11 11:30:46 -07:00 |
|
Ben Straub
|
5748fdee52
|
Rev-parse chaining: adding the longest chain
in the test repo.
|
2012-05-11 11:30:46 -07:00 |
|
Ben Straub
|
a51bdbcfa1
|
Implementing rev-parse's ref@{n} and @{-n} syntaxes.
Added some reflags to the test repo to support
unit tests.
|
2012-05-11 11:30:46 -07:00 |
|
Ben Straub
|
38533d5acf
|
Implementing rev-parse's "ref~2" syntax.
Also extended the test suite to include chaining
operators, e.g. "master^2~3^4".
|
2012-05-11 11:30:46 -07:00 |
|
Ben Straub
|
7149a6252c
|
Returning error if dereferencing operation fails.
|
2012-05-11 11:30:46 -07:00 |
|
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 |
|