| 3111 | } |
| 3112 | |
| 3113 | static int commit_locked_index(struct lock_file *lk) |
| 3114 | { |
| 3115 | if (alternate_index_output) |
| 3116 | return commit_lock_file_to(lk, alternate_index_output); |
| 3117 | else |
| 3118 | return commit_lock_file(lk); |
| 3119 | } |
| 3120 | |
| 3121 | static int do_write_locked_index(struct index_state *istate, |
| 3122 | struct lock_file *lock, |
no test coverage detected