Upphovsman | SHA1 | Meddelande | Datum |
---|---|---|---|
Robin Rosenberg | 95d311f888 |
Move JGitText to an internal package
Change-Id: I763590a45d75f00a09097ab6f89581a3bbd3c797 |
12 år sedan |
Shawn O. Pearce | cb9d8285ba |
Create NoWorkTreeException for bare repositories
Using a custom exception type makes it easire for an application developer to understand why an exception was thrown out of a method we declare. To remain compatiable with existing callers, we still extend off IllegalStateException. Change-Id: Ideeef2399b11ca460a2dbb3cd80eb76aa0a025ba Signed-off-by: Shawn O. Pearce <spearce@spearce.org> |
14 år sedan |
Shawn O. Pearce | ea21c111cb |
Move PackWriter over to storage.pack.PackWriter
Similar to what we did with the file code, move the pack writer into its own package so the related classes and their package private methods are hidden from the rest of the library. Change-Id: Ic1b5c7c8c8d266e90c910d8d68dfc8e93586854f Signed-off-by: Shawn O. Pearce <spearce@spearce.org> |
14 år sedan |
Shawn O. Pearce | ece88b99eb |
Redo PackWriter object reuse output
Output of selected reuses is refactored to use a new ObjectReuseAsIs interface that extends the ObjectReader. This interface allows the reader to control how it performs the reuse into the output stream, but also allows it to throw an exception to request the writer to find a different candidate representation. The PackFile reuse code was overhauled, cleaning up the APIs so they aren't exposed in the object loader, but instead are now a single method on the PackFile itself. The reuse algorithm was changed to do a data verification pass, followed by the copy pass to the output. This permits us to work around a corrupt object in a pack file by seeking another copy of that object when this one is bad. The reuse code was also optimized for the common case, where the in-pack representation is under 16 KiB. In these smaller cases data is sent to the pack writer more directly, avoiding some copying. Change-Id: I6350c2b444118305e8446ce1dfd049259832bcca Signed-off-by: Shawn O. Pearce <spearce@spearce.org> |
14 år sedan |
Git Development Community | 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 år sedan |