diff options
author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2024-11-25 21:13:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-26 10:05:08 +0900 |
commit | 94304b9f48e9c68f3214e25527c3aac865d3ce63 (patch) | |
tree | 4c960e79befed3096e33a70327a38c672bf1d924 /builtin/commit.c | |
parent | fd3785337beb285ed7fd67ce6fc3d3bed2097b40 (diff) |
sequencer: comment checked-out branch properly
`git rebase --update-ref` does not insert commands for dependent/sub-
branches which are checked out.[1] Instead it leaves a comment about
that fact. The comment char is hardcoded (#). In turn the comment
line gets interpreted as an invalid command when `core.commentChar`/
`core.commentString` is in use.
† 1: See 900b50c242 (rebase: add --update-refs option, 2022-07-19)
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions