Edward Thomson
|
d00d54645d
|
immutable references and a pluggable ref database
|
2013-03-07 11:01:52 -06:00 |
|
nulltoken
|
0e8e5a6189
|
revparse: Lookup sha before branch
|
2013-02-03 11:44:26 +01:00 |
|
nulltoken
|
545b479a07
|
revparse: Lookup branch before described tag
Fix #1306
|
2013-02-03 11:18:24 +01:00 |
|
nulltoken
|
cc1466264a
|
revparse: Deploy EINVALIDSPEC usage
|
2012-12-01 08:34:31 +01:00 |
|
nulltoken
|
84166facc9
|
revparse: remove timezone setup in tests
|
2012-12-01 08:34:30 +01:00 |
|
Ben Straub
|
2508cc66eb
|
Rename ref and reflog apis for consistency
|
2012-11-27 13:17:45 -08:00 |
|
nulltoken
|
5912d74c69
|
revparse: properly handle refnames containing a @
Fix #994
|
2012-10-18 23:05:33 +02:00 |
|
Ben Straub
|
c9de8611d6
|
Revparse: GIT_EAMBIGUOUS
Revparse now returns EAMBIGUOUS if the the spec
doesn't match any refs/tags, and is <4 characters.
|
2012-08-25 09:56:20 -07:00 |
|
Carlos Martín Nieto
|
279b45b05b
|
revparse: don't allow an empty string
Asking the library for "" used to give HEAD, but that's trying to
impose a default at the wrong layer. Make it fail.
|
2012-07-23 21:32:45 +02:00 |
|
nulltoken
|
d448392e5d
|
revparse: extend test coverage
|
2012-07-15 18:41:55 +02:00 |
|
nulltoken
|
d1b7921a48
|
revparse: fix disambiguation of refs and abbrev oids
|
2012-07-12 22:30:00 +02:00 |
|
nulltoken
|
bb89cf9478
|
revparse: simplify handling of the colon syntax
|
2012-07-12 22:29:58 +02:00 |
|
nulltoken
|
3e82d6c6f0
|
revparse: unfound reference return ENOTFOUND
|
2012-07-07 12:16:15 +02:00 |
|
nulltoken
|
ce9e8e11ca
|
revparse: fix invalid test reference name
|
2012-07-07 12:16:14 +02:00 |
|
nulltoken
|
b8460c2015
|
revparse: do not segfault when retrieving the last entry
|
2012-07-07 12:16:14 +02:00 |
|
nulltoken
|
3d78ab6427
|
revparse: split reflog test per feature
|
2012-07-07 12:16:12 +02:00 |
|
nulltoken
|
3cd90893a0
|
revparse: enhance upstream reflog test coverage
|
2012-07-07 12:16:11 +02:00 |
|
nulltoken
|
35bed94fd5
|
revparse: enhance refs/<name> coverage
|
2012-07-07 12:16:10 +02:00 |
|
nulltoken
|
cab65c2b23
|
revparse: detect incorrect "refname@{-n}" syntax
|
2012-07-07 12:16:08 +02:00 |
|
nulltoken
|
1decf88bc1
|
revparse: slightly improve readability of tests
|
2012-07-07 12:16:08 +02:00 |
|
nulltoken
|
34922eeeed
|
revparse: readonly tests don't need a sandboxed repo
|
2012-07-07 12:16:07 +02:00 |
|
nulltoken
|
494ae940a0
|
revparse: fix parsing of date specifiers
|
2012-07-02 19:56:41 +02:00 |
|
nulltoken
|
52b938d55a
|
revparse: unfound reflog entry returns ENOTFOUND
|
2012-06-29 17:23:18 +02:00 |
|
nulltoken
|
08ac23a5fd
|
revparse: unfound reflog ref returns ENOTFOUND
|
2012-06-29 17:23:10 +02:00 |
|
nulltoken
|
4de89ce72a
|
revparse: unfound partially-named ref returns ENOTFOUND
|
2012-06-29 17:22:43 +02:00 |
|
nulltoken
|
0e7af9e758
|
revparse: unfound nth parent returns ENOTFOUND
|
2012-06-28 19:12:42 +02:00 |
|
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 |
|