mirror of
https://github.com/git/git.git
synced 2026-06-09 15:37:49 +02:00
Merge branch 'tb/pack-revindex-on-disk'
Fix for a topic in 'master'. * tb/pack-revindex-on-disk: pack-revindex.c: don't close unopened file descriptors
This commit is contained in:
+2
-1
@@ -253,7 +253,8 @@ cleanup:
|
||||
*data_p = (const uint32_t *)data;
|
||||
}
|
||||
|
||||
close(fd);
|
||||
if (fd >= 0)
|
||||
close(fd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user