diff options
author | Robin Stocker <robin@nibor.org> | 2013-04-27 16:14:46 +0200 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2013-05-01 16:00:42 +0200 |
commit | 68b378a4b5e08b80c35e6ad91df25b1034c379a3 (patch) | |
tree | dcd2eb39ea602ec790288222a0a699843e394409 /org.eclipse.jgit/src/org/eclipse/jgit/nls/GlobalBundleCache.java | |
parent | 7be5cfa4d6011d4bbdbaebf47f65bcee04a84666 (diff) | |
download | jgit-68b378a4b5e08b80c35e6ad91df25b1034c379a3.tar.gz jgit-68b378a4b5e08b80c35e6ad91df25b1034c379a3.zip |
Only fetch tags that do not exist locally with auto-follow
This corresponds to what C Git does, quoting from the fetch man page:
This is done by first fetching from the remote using the given
<refspec>s, and if the repository has objects that are pointed by
remote tags that it does not yet have, then fetch those missing tags.
Before, JGit would also fetch tags that exist locally but point to a
different object, resulting in REJECTED results for these.
Also add some test cases to cover more cases.
Bug: 388095
Change-Id: Ib03d2d82e9c4b60179d626cfd5174be1da6388b2
Also-by: Stefan Lay <stefan.lay@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/nls/GlobalBundleCache.java')
0 files changed, 0 insertions, 0 deletions