]> source.dussan.org Git - jgit.git/commit
scanPacks to return reftables even if no packs 28/120028/1
authorMinh Thai <mthai@google.com>
Fri, 23 Mar 2018 00:11:45 +0000 (17:11 -0700)
committerMinh Thai <mthai@google.com>
Fri, 23 Mar 2018 00:11:45 +0000 (17:11 -0700)
commitbf8057058e126f7ca325d6a45b96de73ddd14844
treed5756be8dbc2b99ca7adcb8b856a50287c5594be
parent901e663a66954c1f46ae0d3b605e8a12b4b86ee5
scanPacks to return reftables even if no packs

An empty repository may have a dangling symref HEAD pointing to
refs/heads/master.  In this case, there will be a reftable even though
there are no packs yet.

Change-Id: Ib759ffbbfc490953481853e74263dd46d2592888
Signed-off-by: Minh Thai <mthai@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsObjDatabase.java