docs: add author date / committer date entries to glossary#9515
Open
mvanhorn wants to merge 1 commit into
Open
docs: add author date / committer date entries to glossary#9515mvanhorn wants to merge 1 commit into
mvanhorn wants to merge 1 commit into
Conversation
jj-vcs#9469 asked for explicit glossary entries explaining the difference between author date and committer date so the jj docs aren't relying on the reader's Git background. Adds two glossary entries and a short cross-reference from revsets.md. Fixes jj-vcs#9469
josephlou5
reviewed
May 16, 2026
| a [tree object](#tree)), together with some metadata. The metadata includes the | ||
| author, the date, and pointers to the commit's parents. Through the pointers to | ||
| the parents, the commits form a | ||
| author, the [author date](#author-date), the |
Contributor
There was a problem hiding this comment.
Small nit: Since "author" is also mentioned here, maybe also add "committer" to the list? It's a little strange to list "committer date" without the committer.
| ## Committer date | ||
|
|
||
| The committer date of a [commit](#commit) records when that particular commit | ||
| object was created. It is set for a new commit and updated whenever `jj` rewrites |
Contributor
There was a problem hiding this comment.
Nit: You linked "rewrites" in the "Author date" section, so link it here too.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds glossary entries for "author date" and "committer date", plus a one-line cross-reference from
revsets.mdwhere these terms first show up. #9469 flagged that the docs assume the reader knows the Git distinction; this fills the gap without restructuring anything.Why this matters
The difference matters for jj specifically because rebase / squash / abandon all preserve author date while committer date floats forward, and revset filters and templates that surface "committer_date" surprise users who expected "the date the commit was created."
Changes
docs/glossary.md- addauthor dateandcommitter dateentries with the jj-specific behavior callouts.docs/revsets.md- link to the new glossary entries from the first mention of these terms.Testing
Docs-only change. No code paths affected.
CLA
Google CLA required. I'll sign on the PR.
Fixes #9469