| 4645 | } |
| 4646 | |
| 4647 | static enum todo_command peek_command(struct todo_list *todo_list, int offset) |
| 4648 | { |
| 4649 | int i; |
| 4650 | |
| 4651 | for (i = todo_list->current + offset; i < todo_list->nr; i++) |
| 4652 | if (!is_noop(todo_list->items[i].command)) |
| 4653 | return todo_list->items[i].command; |
| 4654 | |
| 4655 | return -1; |
| 4656 | } |
| 4657 | |
| 4658 | static void create_autostash_internal(struct repository *r, |
| 4659 | const char *path, |
no test coverage detected