Replies: 1 comment 8 replies
-
I just copied that from Mercurial (see an example in https://www.mercurial-scm.org/guide#log_keeping). I don't think I thought much about using other syntax. I don't mind switching to |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When drafting commit messages, e.g. in
jj describe
orjj split
, we are given a file where lines starting withJJ:
are removed.Although technically users can configure their editor to recognize
.jjdescription
file and then recognizeJJ:
as comment symbol, but that's extra work users have to do. Otherwise users don't get syntax highlighting.My questions:
JJ:
instead of#
to start comments? If using#
, it's easier for users to configure their editor and adopt from git. For example, I can doau Bufread *.jjdescription set ft=gitcommit
in vim..jjdescription
instead of, for example,.jj/repo/COMMIT_EDITMSG
that is already recognized by editors?I may be missing on the advantages of these choices, hence what I see now is just that they add extra burden for users coming from git.
Beta Was this translation helpful? Give feedback.
All reactions