]> source.dussan.org Git - jgit.git/commit
BaseReceivePack: fix reading cert lines in command loop 93/50293/4
authorDave Borowitz <dborowitz@google.com>
Mon, 15 Jun 2015 18:54:13 +0000 (14:54 -0400)
committerDave Borowitz <dborowitz@google.com>
Thu, 18 Jun 2015 13:50:11 +0000 (09:50 -0400)
commite26d0c8acebd0b602afa9beb8d676b77ca082c12
tree6b746944a0ead6aa4445733693abe75d45eb19e7
parent4831470581fa770fd27b14761193fc89c685c93d
BaseReceivePack: fix reading cert lines in command loop

Add a missing continues to prevent falling through to the command
parsing section. The first continue happens when the command list is
empty, so change the condition to see whether we have read the first
line, rather than any commands.

Fix comparison to BEGIN_SIGNATURE to use raw line with newline.

Change-Id: If3d92f5ceade8ba7605847a4b2bc55ff17d119ac
org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java