summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-05-05 14:09:41 +0200
committerMichael Haggerty <mhagger@alum.mit.edu>2016-05-05 16:37:04 +0200
commite167a5673e25b960dce118fb967d54da30b69def (patch)
treeb3c53b071f76ae1c3c50fd49b531a644b06572e9 /dir.h
parent5387c0d8839e366c44838c808ccc20eb7f9bd358 (diff)
downloadgit-e167a5673e25b960dce118fb967d54da30b69def.tar.gz
read_raw_ref(): don't get confused by an empty directory
Even if there is an empty directory where we look for the loose version of a reference, check for a packed reference before giving up. This fixes the failing test that was introduced two commits ago. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'dir.h')
0 files changed, 0 insertions, 0 deletions