diff options
author | kylezhao <kylezhao@tencent.com> | 2021-07-06 20:20:14 +0800 |
---|---|---|
committer | kylezhao <kylezhao@tencent.com> | 2022-12-06 20:34:46 +0800 |
commit | cf70e7cbe4fffabf1caebbf4b8705188957cfa6a (patch) | |
tree | f16910855c48cdd043728a67b386aa7dd4dfafdc /org.eclipse.jgit/resources/org/eclipse/jgit | |
parent | 1d5a6c77a6b575ae7e8d1d9cf8435e36eef6125d (diff) | |
download | jgit-cf70e7cbe4fffabf1caebbf4b8705188957cfa6a.tar.gz jgit-cf70e7cbe4fffabf1caebbf4b8705188957cfa6a.zip |
CommitGraph: implement commit-graph writer
Teach JGit to write a commit-graph formatted file by walking commit
graph from specified commit objects.
See: https://git-scm.com/docs/commit-graph-format/2.21.0
Bug: 574368
Change-Id: I34f9f28f8729080c275f86215ebf30b2d05af41d
Signed-off-by: kylezhao <kylezhao@tencent.com>
Diffstat (limited to 'org.eclipse.jgit/resources/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index 93269d5d62..9b9e6d5a2c 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -143,11 +143,13 @@ collisionOn=Collision on {0} commandClosedStderrButDidntExit=Command {0} closed stderr stream but didn''t exit within timeout {1} seconds commandRejectedByHook=Rejected by "{0}" hook.\n{1} commandWasCalledInTheWrongState=Command {0} was called in the wrong state +commitGraphWritingCancelled=commit-graph writing was canceled commitMessageNotSpecified=commit message not specified commitOnRepoWithoutHEADCurrentlyNotSupported=Commit on repo without HEAD currently not supported commitAmendOnInitialNotPossible=Amending is not possible on initial commit. commitsHaveAlreadyBeenMarkedAsStart=Commits have already been marked as walk starts. compressingObjects=Compressing objects +computingCommitGeneration=Computing commit-graph generation numbers configSubsectionContainsNewline=config subsection name contains newline configSubsectionContainsNullByte=config subsection name contains byte 0x00 configValueContainsNullByte=config value contains byte 0x00 @@ -328,6 +330,7 @@ fileModeNotSetForPath=FileMode not set for path {0} filterExecutionFailed=Execution of filter command ''{0}'' on file ''{1}'' failed filterExecutionFailedRc=Execution of filter command ''{0}'' on file ''{1}'' failed with return code ''{2}'', message on stderr: ''{3}'' filterRequiresCapability=filter requires server to advertise that capability +findingCommitsForCommitGraph=Finding commits for commit-graph findingGarbage=Finding garbage flagIsDisposed={0} is disposed. flagNotFromThis={0} not from this. @@ -839,6 +842,7 @@ writerAlreadyInitialized=Writer already initialized writeTimedOut=Write timed out after {0} ms writingNotPermitted=Writing not permitted writingNotSupported=Writing {0} not supported. +writingOutCommitGraph=Writing out commit-graph in {0} passes writingObjects=Writing objects wrongDecompressedLength=wrong decompressed length wrongRepositoryState=Wrong Repository State: {0} |