(flags: CliFlags)
| 456 | } |
| 457 | |
| 458 | function normalizeFlags(flags: CliFlags): CliFlags { |
| 459 | const edit = getEditValue(flags); |
| 460 | return { |
| 461 | ...flags, |
| 462 | edit, |
| 463 | }; |
| 464 | } |
| 465 | |
| 466 | // core.commentChar and core.commentString are aliases, so the last one set wins. |
| 467 | // For "auto", git picks "#" unless a message line already starts with it. |