| 2027 | } |
| 2028 | |
| 2029 | void commit_stack_push(struct commit_stack *stack, struct commit *commit) |
| 2030 | { |
| 2031 | commit_stack_grow(stack, 1); |
| 2032 | stack->items[stack->nr++] = commit; |
| 2033 | } |
| 2034 | |
| 2035 | struct commit *commit_stack_pop(struct commit_stack *stack) |
| 2036 | { |