M4.6: Git log and file history
- crates/vcs log.rs: Repo::log (topological, all refs, paging, literal message/author filters, a path's history with --follow), show_commit (message and files against the first parent, renames) and show_at (a file at any commit); parsers property-tested. - Engine git.log, git.showCommit, git.showAt in cmd/git_log.rs through the step-1 hook. - Log tab in the bottom panel: graph lanes carried across pages, ref badges, filters, lazy paging, keyboard; commit details whose files open a read-only diff at that commit in M4.3's viewer. - vcs.showLog and vcs.showHistory (menu, tree context menu, active editor tab), no default shortcuts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b814c49733
commit
a8531825a3
27 changed files with 3349 additions and 16 deletions
|
|
@ -28,6 +28,8 @@
|
|||
"command.vcs.previousChange": "Previous Change",
|
||||
"command.vcs.refresh": "Refresh Changes",
|
||||
"command.vcs.showDiff": "Show Diff",
|
||||
"command.vcs.showHistory": "Show History",
|
||||
"command.vcs.showLog": "Log",
|
||||
"command.view.toggleProjectTree": "Show or Hide Project",
|
||||
"command.view.toggleStructure": "Show or Hide Structure",
|
||||
"common.cancel": "Cancel",
|
||||
|
|
@ -161,6 +163,7 @@
|
|||
"notification.vcs.checkoutNotSaved": "Checkout of {branch} cancelled: not every file could be saved first.",
|
||||
"notification.vcs.commitNotSaved": "Commit cancelled: not every file could be saved first.",
|
||||
"notification.vcs.committed": "Committed {hash}: {summary}",
|
||||
"notification.vcs.historyNoFile": "Open a file or pass a path to show its history",
|
||||
"notification.vcs.newBranchFailed": "Branch {branch} was not created: {reason}",
|
||||
"notification.vfs.pumpFailed": "Applying changes on disk failed: {reason}",
|
||||
"notification.watch.failed": "Lutra stopped watching the project for changes on disk: {reason}",
|
||||
|
|
@ -191,6 +194,7 @@
|
|||
"project.tree.menu.label": "Actions for {name}",
|
||||
"project.tree.menu.open": "Open",
|
||||
"project.tree.menu.showDiff": "Show Diff",
|
||||
"project.tree.menu.showHistory": "Show History",
|
||||
"project.tree.truncated": "Listing truncated: more entries than can be shown",
|
||||
"recovery.dialog.changedOnDisk": "The file changed on disk since then",
|
||||
"recovery.dialog.discard": "Discard",
|
||||
|
|
@ -323,6 +327,7 @@
|
|||
"vcs.commit.messageLabel": "Commit message",
|
||||
"vcs.commit.placeholder": "Commit message",
|
||||
"vcs.diff.binary": "Binary file: no text diff to show.",
|
||||
"vcs.diff.captionCommit": "{path}: before (left) and after (right) commit {hash}",
|
||||
"vcs.diff.captionHead": "{path}: last commit (left) and working copy (right)",
|
||||
"vcs.diff.captionIndex": "{path}: staged version (left) and working copy (right)",
|
||||
"vcs.diff.closeTab": "Close the diff of {name}",
|
||||
|
|
@ -331,9 +336,29 @@
|
|||
"vcs.diff.loading": "Reading the file from Git…",
|
||||
"vcs.diff.noFile": "Open a file or pass a path to show its diff",
|
||||
"vcs.diff.tabTitle": "Diff: {name}",
|
||||
"vcs.diff.tabTitleCommit": "Diff: {name} ({hash})",
|
||||
"vcs.diff.tabTitleStaged": "Diff: {name} (staged)",
|
||||
"vcs.diff.tooLarge": "The file is too large to compare.",
|
||||
"vcs.diff.workingCopyMissing": "The working copy cannot be opened ({reason}); it may have been deleted.",
|
||||
"vcs.log.byLine": "{author} <{email}>, {date}",
|
||||
"vcs.log.clearPath": "Show the whole project's history",
|
||||
"vcs.log.details": "Commit details",
|
||||
"vcs.log.detailsFailed": "The commit cannot be read: {reason}",
|
||||
"vcs.log.detailsLoading": "Reading the commit…",
|
||||
"vcs.log.empty": "No commits match",
|
||||
"vcs.log.failed": "The history cannot be read: {reason}",
|
||||
"vcs.log.files": "Changed files: {count}",
|
||||
"vcs.log.filterAuthor": "Author",
|
||||
"vcs.log.filterText": "Filter by message",
|
||||
"vcs.log.historyOf": "History of {path}",
|
||||
"vcs.log.listLabel": "Commits",
|
||||
"vcs.log.loading": "Reading the history…",
|
||||
"vcs.log.loadingMore": "Reading more commits…",
|
||||
"vcs.log.noProject": "Open a project to see its history",
|
||||
"vcs.log.openDiff": "Double-click or press Enter to open the diff at this commit",
|
||||
"vcs.log.refresh": "Reload the history",
|
||||
"vcs.log.toolWindow.title": "Log",
|
||||
"vcs.log.truncated": "More files changed than are listed here.",
|
||||
"vcs.state.added": "added",
|
||||
"vcs.state.conflicted": "conflicted",
|
||||
"vcs.state.copied": "copied",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue