]> source.dussan.org Git - jgit.git/commit
Skip unborn branches in UploadPack 12/114912/2
authorZhen Chen <czhen@google.com>
Wed, 3 Jan 2018 22:12:30 +0000 (14:12 -0800)
committerZhen Chen <czhen@google.com>
Wed, 3 Jan 2018 22:21:05 +0000 (14:21 -0800)
commit21d22e6f63a1adcfaeaee155f1be32f8123fd789
tree643e07c833ec435ab850aaecbe67a067e91260ee
parent5a4b6fd237ebab03001f55a06cdf2a59d4ca3566
Skip unborn branches in UploadPack

The ObjectId of an unborn branch is null, skip those in UploadPack.

Change-Id: I7cbf66b05dff98c4fe9f33e20a647ba6acf364b2
Signed-off-by: Zhen Chen <czhen@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java