mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
faq: in entry about default jj log revset, explain rationale
The FAQ entry explaining why `jj log` doesn't show all commits explained that the behavior is configurable but it didn't explain what the rationale for not showing all commits is. Users coming from Git are used to seeing all commits and probably read this FAQ entry to find an answer. We don't want them to just update their config without understanding why we have the default we have.
This commit is contained in:
parent
d37a5b1b74
commit
fe846d69d4
1 changed files with 6 additions and 3 deletions
|
|
@ -21,9 +21,12 @@ options:
|
|||
|
||||
Is your commit visible with `jj log -r 'all()'`?
|
||||
|
||||
If yes, you should be aware that `jj log` only shows the revisions matching
|
||||
`revsets.log` by default. You can change it as described in [config] to show
|
||||
more revisions.
|
||||
If yes, you should be aware that `jj log` only shows a subset of the commits in
|
||||
the repo by default. Most commits that exist on a remote are not shown. Local
|
||||
commits and their immediate parents (for context) are shown. The thinking is
|
||||
that you are more likely to interact with this set of commits. You can configure
|
||||
the set of revisions to show by default by overriding `revsets.log` as described
|
||||
in [config].
|
||||
|
||||
If not, the revision may have been abandoned (e.g. because you
|
||||
used `jj abandon`, or because it's an obsolete version that's been rewritten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue