(commit)
| 175 | } |
| 176 | |
| 177 | function getReflogMessageForCommit(commit) { |
| 178 | var parentCount = commit.parentcount(); |
| 179 | var summary = commit.summary(); |
| 180 | var commitType; |
| 181 | |
| 182 | if (parentCount >= 2) { |
| 183 | commitType = " (merge)"; |
| 184 | } else if (parentCount == 0) { |
| 185 | commitType = " (initial)"; |
| 186 | } else { |
| 187 | commitType = ""; |
| 188 | } |
| 189 | |
| 190 | return `commit${commitType}: ${summary}`; |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Goes through a rebase's rebase operations and commits them if there are |
no outgoing calls
no test coverage detected
searching dependent graphs…