]> git.wh0rd.org Git - home.git/commitdiff
git-repack: handle missing packed refs
authorMike Frysinger <vapier@gentoo.org>
Sun, 21 Feb 2016 03:31:14 +0000 (22:31 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 21 Feb 2016 03:31:14 +0000 (22:31 -0500)
.bin/git-repack

index b225fca147d19e2ecbc3e9a5f236e99f74e9107b..bdceb68ee775e8bcce515e8a44d16066eb2f0435 100755 (executable)
@@ -63,6 +63,7 @@ def readfile(path):
     """Read |path| and return its data"""
     if os.path.isfile(path):
         return open(path).read()
+    return ''
 
 
 def unlink(path):