Author | SHA1 | Message | Date |
---|---|---|---|
|
014d759d35 |
Update example code for obtaining a locked DirCache
Previous example was calling a method that no longer exists on DirCache. Change-Id: I864842c58df4f116b318dc4a150b789745769a0d |
12 years ago |
|
121d009b9b |
Use ObjectReader in RevWalk, TreeWalk
We don't actually need a Repository object here, just an ObjectReader that can load content for us. So change the API to depend on that. However, this breaks the asCommit and asTag legacy translation methods on RevCommit and RevTag, so we still have to keep the Repository inside of RevWalk for those two types. Hopefully we can drop those in the future, and then drop the Repository off the RevWalk. Change-Id: Iba983e48b663790061c43ae9ffbb77dfe6f4818e Signed-off-by: Shawn O. Pearce <spearce@spearce.org> |
14 years ago |
|
76b9823005 |
Use keep(1) instead of add() when skipping an entry
Doing a keep call with a length of 1 will copy the current entry just like the previous add was doing, but it avoids doing any validation on the entry. This is sane because the entry can be assumed to be already valid, since its originating from the destination index. Change-Id: I250d902fc98580444af1ba4b8fedceb654541451 Originally: http://thread.gmane.org/gmane.comp.version-control.git/128214/focus=128213 Signed-off-by: Shawn O. Pearce <spearce@spearce.org> |
15 years ago |
|
1a6964c827 |
Initial JGit contribution to eclipse.org
Per CQ 3448 this is the initial contribution of the JGit project
to eclipse.org. It is derived from the historical JGit repository
at commit
|
14 years ago |