ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/docs
Martin von Zweigbergk 50ba571527 log: move commit ID off to the right
We have talked about showing the commit ID only for divergent changes
because it's generally easier to work with the change ID, and it's
less likely to result in a divergent change. However, it's useful to
have the commit ID available for pasting into e.g. a commit message or
the GitHub UI. To try to steer users towards using the change ID, this
commit moves the commit ID off to the right in the log output.

I put it just after the "divergent" field, because that makes it close
to how I imagine it would look if we decided to hide the commit ID
except for divergent changes. I was thinking that could be rendered as
"divergent (abc123)". So if we add config to hide the commit ID, then
it would be rendered almost the same for divergent commits (just with
the added parentheses). It would also make sense to replace the
"divergent" field by a question mark on the change ID, since change
IDs basically behave like branches. If we do that, then the placement
of the commit ID I picked in this commit does not make sense.
2022-11-14 07:49:52 -08:00
..
technical docs: change "current checkout" to "working-copy commit" 2022-09-18 16:19:58 -07:00
branches.md templater: indicate if branch needs to be pushed to a remote 2022-11-09 22:44:55 -08:00
code-of-conduct.md
config.md Add --config-toml command-line argument for additional TOML config 2022-11-05 21:21:33 -07:00
config.toml Added barebones config template with the odd alternative commented out. 2022-07-16 21:28:40 -07:00
conflicts.md conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
contributing.md
git-comparison.md cli: disable open commits by default 2022-08-26 23:34:52 -07:00
git-compatibility.md docs: explain that we don't support shallow clones (#675) 2022-10-27 06:56:34 -07:00
operation-log.md docs: change "current checkout" to "working-copy commit" 2022-09-18 16:19:58 -07:00
related-work.md docs: hyphenate "working-copy" when used as a compound modifier 2022-08-25 18:08:36 -07:00
revsets.md revset: add present(set) predicate that suppresses NoSuchRevision error 2022-11-07 21:41:54 +09:00
tutorial.md log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
working-copy.md cli: drop support for ui.enable-open-commits config 2022-11-05 06:14:37 -07:00