aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/.settings
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2016-07-05 13:00:02 -0700
committerShawn Pearce <spearce@spearce.org>2016-07-05 17:17:50 -0700
commita1bedf08228350733a6dd9c2c8c0c9053efbbcec (patch)
treecc0b906fc1be43fe597ee96ce651a0116c33ea4e /org.eclipse.jgit.test/.settings
parent0373180321f6b06d50b44017f462cf2297c1e209 (diff)
downloadjgit-a1bedf08228350733a6dd9c2c8c0c9053efbbcec.tar.gz
jgit-a1bedf08228350733a6dd9c2c8c0c9053efbbcec.zip
ReceivePack: catch InvalidObjectIdException while parsing shallow
The "shallow $id" parsing can also throw InvalidObjectIdException, just like parseCommand. Move it into its own method with a proper try-catch block to convert to the checked PackProtocolException. Change-Id: I6839b95f0bc4fbf4d2c213331ebb9bd24ab2af65
Diffstat (limited to 'org.eclipse.jgit.test/.settings')
0 files changed, 0 insertions, 0 deletions