diff options
author | Robin Stocker <robin@nibor.org> | 2013-05-04 16:43:51 +0200 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2013-05-28 05:33:03 -0400 |
commit | a51899c2036984fa7a04290ca1364a02af34f95a (patch) | |
tree | a33c778e7e5345e813e3c905f9685033938fac7e /org.eclipse.jgit.pgm.test/tst/org/eclipse | |
parent | ec97912762754ee88f1af5ed80e993c545778242 (diff) | |
download | jgit-a51899c2036984fa7a04290ca1364a02af34f95a.tar.gz jgit-a51899c2036984fa7a04290ca1364a02af34f95a.zip |
Support refspecs with wildcard in middle (not only at end)
The following refspec, which can be used to fetch GitHub pull requests,
is supported by C Git but was not yet by JGit:
+refs/pull/*/head:refs/remotes/origin/pr/*
The reason is that the wildcard in the source is in the middle.
This change also includes more validation (e.g. "refs//heads" is not
valid) and test cases.
Bug: 405099
Change-Id: I9bcef7785a0762ed0a98ca95a0bdf8879d5702aa
Diffstat (limited to 'org.eclipse.jgit.pgm.test/tst/org/eclipse')
0 files changed, 0 insertions, 0 deletions