diff options
Diffstat (limited to 'object-store.c')
| -rw-r--r-- | object-store.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/object-store.c b/object-store.c index e5cfb8c007..0cbad5a19a 100644 --- a/object-store.c +++ b/object-store.c @@ -83,19 +83,6 @@ int odb_mkstemp(struct strbuf *temp_filename, const char *pattern) return xmkstemp_mode(temp_filename->buf, mode); } -int odb_pack_keep(const char *name) -{ - int fd; - - fd = open(name, O_RDWR|O_CREAT|O_EXCL, 0600); - if (0 <= fd) - return fd; - - /* slow path */ - safe_create_leading_directories_const(the_repository, name); - return open(name, O_RDWR|O_CREAT|O_EXCL, 0600); -} - /* * Return non-zero iff the path is usable as an alternate object database. */ |
