diff options
author | Hugo Arès <hugo.ares@ericsson.com> | 2015-04-07 11:17:06 -0400 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-04-30 16:21:05 +0200 |
commit | ae4b72d50e84f9af7978075d4919ad4d2b1d018a (patch) | |
tree | fd1af4ef19b2736c712af8f37b372e5df9552180 /org.eclipse.jgit/resources | |
parent | d3a73c1407f8936cb45516da8d3a2d4dd43c6379 (diff) | |
download | jgit-ae4b72d50e84f9af7978075d4919ad4d2b1d018a.tar.gz jgit-ae4b72d50e84f9af7978075d4919ad4d2b1d018a.zip |
Remove pack from list when file handle is stale
This error happens on nfs file system when you try to read a file that
was deleted or replaced.
When the error happens because the file was deleted, removing it from
the list is the proper way to handle the error, same use case as
FileNotFoundException. When the error happens because the file was
replaced, removing the file from the list will cause the file to be
re-read so it will get the latest version of the file.
Bug: 462868
Change-Id: I368af61a6cf73706601a3e4df4ef24f0aa0465c5
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 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 10f5339aea..6028618598 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -394,6 +394,7 @@ packfileCorruptionDetected=Packfile corruption detected: {0} packFileInvalid=Pack file invalid: {0} packfileIsTruncated=Packfile {0} is truncated. packfileIsTruncatedNoParam=Packfile is truncated. +packHandleIsStale=Pack file {0} handle is stale, removing it from pack list packHasUnresolvedDeltas=pack has unresolved deltas packingCancelledDuringObjectsWriting=Packing cancelled during objects writing packObjectCountMismatch=Pack object count mismatch: pack {0} index {1}: {2} |