diff options
Diffstat (limited to 'lockfile.c')
-rw-r--r-- | lockfile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lockfile.c b/lockfile.c index b2f5d36f7e..63f4e94bce 100644 --- a/lockfile.c +++ b/lockfile.c @@ -340,14 +340,6 @@ int commit_lock_file(struct lock_file *lk) return err; } -int hold_locked_index(struct lock_file *lk, int die_on_error) -{ - return hold_lock_file_for_update(lk, get_index_file(), - die_on_error - ? LOCK_DIE_ON_ERROR - : 0); -} - void rollback_lock_file(struct lock_file *lk) { if (!lk->active) |