diff options
author | Arthur Baars <arthur@semmle.com> | 2013-03-04 11:14:16 +0000 |
---|---|---|
committer | Arthur Baars <arthur@semmle.com> | 2013-03-31 15:36:47 +0100 |
commit | 2b9c440fd1a08158b5e69d3a9e1a5bed4a17b286 (patch) | |
tree | d16361f7929fc9fea6e977a9649221ad832deeb9 /README.md | |
parent | 4796fe70432d882f1d51d9fec59c111107be44f8 (diff) | |
download | jgit-2b9c440fd1a08158b5e69d3a9e1a5bed4a17b286.tar.gz jgit-2b9c440fd1a08158b5e69d3a9e1a5bed4a17b286.zip |
LogCommand.all(), peel references before using them
Problem:
LogCommand.all() throws an IncorrectObjectTypeException when
there are tag references, and the repository does not contain
the file "packed-refs". It seems that the references were not properly
peeled before being added to the markStart() method.
Solution:
Call getRepository().peel() on every Ref that has isPeeled()==false
in LogCommand.all() .
Added test case for LogCommand.all() on repo with a tag.
1. I have authored 100% of the content I'm contributing,
2. I have the rights to donate the content to Eclipse,
3. I contribute the content under the EDL
Bug: 402025
Change-Id: Idb8881eeb6ccce8530f2837b25296e8e83636eb7
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions