跳到正文

GG 版本记录

Thomas Castiglione · 用于浏览和编辑 Jujutsu 仓库的桌面图形界面,支持修订、文件、书签及 Git 工作流程。

Cask开发工具 884
主页
安装命令
brew install --cask gg
近 30 天安装
16
App榜第 1903
近一年安装
452
365 天累计
最新版本
0.46.0
下载大小
24MB
dmg
更新节奏
不定期
近 30 天 0 个版本
  1. 0.46.0

    最新

    OpenNavo 编辑 Homebrew 收录

    基于 Jujutsu 0.46,改善工作区处理;同目录 Init、Clone 时添加 .jj/ 忽略规则,并使撤销、重做与 Jujutsu 操作栈一致。

    基于 Jujutsu 0.46,改善工作区处理;同目录 Init、Clone 时添加 .jj/ 忽略规则,并使撤销、重做与 Jujutsu 操作栈一致。

    Source: https://github.com/gulbanana/gg/releases/tag/v0.46.0

  2. 0.45.1

    补丁

    OpenNavo 编辑 Homebrew 收录

    弃用 gg_lib 库目标。GG 计划转向 Jujutsu 的 jj-frontend crate,并在未来版本移除此目标;并非已在 0.45.1 移除。

    弃用 gg_lib 库目标。GG 计划转向 Jujutsu 的 jj-frontend crate,并在未来版本移除此目标;并非已在 0.45.1 移除。

    Source: https://github.com/gulbanana/gg/releases/tag/v0.45.1

  3. 0.45.0

    OpenNavo 编辑 Homebrew 收录

    新增窗格缩放和 macOS 窗口菜单支持;macOS 与 Linux 现可通过拖动滚动日志窗格,并修复多项显示和命令问题。

    新增
    可使用中央垂直分隔线调整窗格大小。macOS 新增列出已打开仓库的“窗口”菜单。macOS 和 Linux 可通过拖动日志窗格周围的对象来滚动。
    变更
    在 macOS 和 Windows 上,重复启动会在现有实例中打开新窗口。
    修复
    修复多项 macOS 窗口和修订显示问题。修复“重新打开”命令及部分 revset 的滚动显示问题。

    GG 0.45.0 基于 Jujutsu 0.45.1。现在可以使用中央垂直分隔线调整窗格大小。macOS 新增标准的“窗口”菜单,用于列出已打开的仓库。通过拖动日志窗格周围的对象来滚动,现在也可在 macOS 和 Linux 上使用;此前此功能仅适用于 Windows。

    在 macOS 和 Windows 上,如果 GG 已在运行时再次启动,会在现有实例中打开一个新窗口。修复内容包括:宽 macOS 窗口中修订说明被截断的问题、GUI 标题栏不再适应 macOS 配色方案的问题,以及“重新打开”命令失效的问题。在 macOS 26 及更高版本上,标题栏还会利用 Tahoe 右侧留下的空白区域。带有省略行的 revset 现在能够准确显示,且不会截断滚动。

    官方发行说明

  4. 0.41.0

    展开

    OpenNavo 编辑 Homebrew 收录

    工作区芯片现可交互;非空修订会显示差异统计;只要所选变更 ID 不变,草稿描述就会保留。本版本基于 Jujutsu 0.41。

    新增
    工作区芯片提供打开、忘记和重命名命令。双击书签可切换跟踪状态;双击工作区可打开。“Changes”行会显示非空修订的差异统计。重命名书签时会预填现有名称。所选变更 ID 不变时,草稿描述会保留。
    修复
    修复在 --repo 级别设置时 gg.web.default-port 不生效的问题。差异文本选择不再包含 +/- 前缀或未更改行的额外空格。使用 dunce 规范化工作目录,以帮助避免 Windows 保留名称错误。修正 Wayland 下的上下文菜单位置及其在某些 GTK 版本中的运行问题。

    GG 0.41.0 基于 Jujutsu 0.41。

    工作区芯片现在提供所选工作区的上下文菜单。“打开”会在 GUI 中新建窗口,或在 Web 版的当前标签页中切换到该工作区;“忘记”会从仓库移除工作区,并在其工作副本为空时将其放弃;“重命名”可更改名称。双击书签可切换跟踪状态,双击工作区则会打开它。

    右侧面板的 “Changes” 行现在会显示非空修订的差异统计。重命名书签时会预填当前名称;只要所选变更 ID 保持不变,草稿描述就会跨操作保留。

    工作目录现在使用 dunce 进行规范化,以帮助避免某些 Windows 保留名称错误。本版本还修复了在 --repo 级别设置 gg.web.default-port 不生效、差异文本选择包含行前缀或未更改行额外空格,以及 Wayland 下上下文菜单位置错误或在某些 GTK 版本中无法使用的问题。

    来源:https://github.com/gulbanana/gg/releases/tag/v0.41.0

  5. 0.39.1

    展开

    OpenNavo 编辑 Homebrew 收录

    macOS 应用现在能够检测从终端启动的情况,并默认在后台运行。GG 现已可通过 Homebrew 和 WinGet 获取。

    应用
    macOS 应用会检测是否从终端启动。默认在后台运行;使用 --foreground 可阻塞 shell。
    获取方式
    GG 现已可通过 Homebrew 和 WinGet 获取。

    在 GG 0.39.1 中,macOS 应用会检测是否从终端启动,其行为与 CLI 版本一致。默认情况下,应用会在后台启动;传入 --foreground 可阻塞 shell。发布说明指出,Windows 之前已具有类似行为。GG 现也可通过 Homebrew 和 WinGet 获取。

    来源:https://github.com/gulbanana/gg/releases/tag/v0.39.1

  6. 0.39.0

    展开

    GitHub Release Homebrew 收录

    This release is based on Jujutsu 0.39.

    Added

    • UI for modifying the [gg.presets] revsets - the left pane's top field has an add/remove button next to it when a custom revset is entered.
    • Improved the appearance of secondary action buttons to better distinguish them from disabled ones.
    • The gg_lib crate only exposed a SessionEvent-based state machine, which is fine for operations that modify a particular workspace but doesn't cover workspace-level meta-changes. Newly public APIs:
      • WorkerSession::init_repository()
      • WorkerSession::clone_repository()
      • WorkspaceSession::add_workspace()
      • WorkspaceSession::forget_workspace()
      • WorkspaceSession::list_workspaces()
  7. 0.38.4

    展开

    GitHub Release Homebrew 收录

    Added

    • JJ config settings can now be overridden for GG only by prefixing a setting with gg.. For example, if you have...
      user.name = "JJ Author"
      gg.user.name = "GG Author"
      
      ...then revisions created by GG will be authored by "GG Author" instead of "JJ Author".
    • If ui.diff-formatter is set to a non-builtin tool, an "open in diff tool" button will appear for each file in the changelist. If you don't want this, or want to use different external tool than you use with jj-cli, set gg.ui.diff-formatter - an empty string will disable external diffing.
    • If ui.merge-editor is set, or both merge-editor and diff-formatter are set, conflicted files will have an "resolve with merge tool" button instead. Sample config for a less cluttered change list:
      [ui]
      diff-formatter = "bc3"
      merge-editor = "bc3"
      [gg.ui]
      diff-formatter="" # overrides ui.diff-formatter, removing the difftool button but not the mergetool button
      
    • Describing a revision with "reset author" now checks that user.name and user.email are configured, and shows an error if not.
    • Tags now have an icon.
    • Revisions which are the working copy of another workspace are displayed with a yellow dot. The workspace's name is displayed alongside bookmarks and tags.
    • The gg-cli crate, despite its name, can now be used as a library. There's just enough of an API surface to embed your own version of gg web, or you can build on its lower-level WorkerSession. Web mode has two new endpoints, /log[?revset=] and /revision?revset, which may be useful for embedding.

    Changed

    • [gg.revsets] has been renamed to [gg.presets]. Sorry about the churn, but the earlier name was a mistake - it clashes with jj's [revsets] config table.
    • Button and context menu colours are slightly less theme-respecting for a more consistent experience.

    Fixed

    • Pushes were silently rejected when branches had moved or been locked down; now an error is displayed.
    • Reverting from the GUI-mode context menu was broken.
    • Dragging a revision onto a parent edge no longer drops other parents when the rebased child is a merge commit.
    • Drag-and-drop onto the vertical segments of curved graph lines now works correctly. Previously only the horizontal part of a curved line was a valid drop target.
    • Scrollbar colours on MacOS weren't respecting dark theme.
    • Scrollbars in the log pane were covering part of the log until the window was resized.
  8. 0.38.2

    展开

    GitHub Release Homebrew 收录

    Fixed

    • The revset selector and textbox colours were broken on MacOS due to some CSS that Safari doesn't yet support.
    • The reset-author toggle in the right pane didn't become clickable when toggling on "ignore immutability" until you performed some other operation.
  9. 0.38.0

    展开

    GitHub Release Homebrew 收录

    This release is based on Jujutsu 0.38.

    Added

    • There's a toggle in the bottom left of the screen marked with a 🛡; turning it on acts like jj --ignore immutable, affording you infinite power.
    • The command-line argument --ignore-immutable will turn on the new toggle at startup.
    • The additional revsets displayed in the left-pane selector can by customised by adding config values under [gg.revsets].

    Changed

    • Temporary behavioural toggles are now represented with a sticky button instead of a checkbox.

    Fixed

    • In web mode, right-clicking on revisions enabled context menu commands based on the selected revision rather than the one you'd clicked.
  10. 0.37.2

    展开

    GitHub Release Homebrew 收录

    Added

    • Multiple selection:
      • Select a range with shift-click or shift-arrowkeys.
      • See a combined change/conflict view in the right pane.
      • Squash/restore the combined diff, or files within it - not hunks, for now.
      • Drag-drop to rebase an entire range at once.
      • Right-click or use the Revision menu in GUI mode to exeute commands on the range.
    • Divergent/hidden revision display, using the change-id offsets introduced in JJ 0.37.
    • GG can also target divergent revisions or revsets, so you can now use it to abandon or rescue divergent revisions.

    Changed

    • "Backout" is now "Revert", following the change in JJ 0.35.
  11. 0.37.1

    展开

    GitHub Release Homebrew 收录

    Added

    • Repository -> Recent Items menu.

    Fixed

    • Dropdowns in input dialogs weren't sending their value to the backend correctly.
    • Revision menu commands were applying to every open window.
    • Tweaks to the "Changes" bar visuals.
  12. 0.37.0-1-prerelease

    展开

    GitHub Release

    GG 0.37.0-1

    Added

    • Web Mode: GG can now be run using gg web (or you can change the gg.default-mode setting from gui to web), which will start a web server and a browser instead of a desktop application. It has the same featureset apart from the lack of a top menubar and features inherent to the platform - only gui mode has a taskbar icon to right-click, only web mode supports http-proxy remote access, etc.

      New command line options:

      • -p/--port: run on a specified port number (it'll be random otherwise).
      • --no-launch: don't attempt to open a browser. These can also be configured using some new [gg.web] settings.

      Web mode uses a standard request-response model, shutting down when all tabs are closed or haven't pinged the backend in a while. It has HTML dialogs and context menus instead of the native ones provided by Tauri.

    • Multiple window support in gui mode (the existing default, or gg gui if you want to be explicit). The "Open..." command in the Repository menu will now open another workspace. Selections and window positions are preserved independently.

    • Restore and squash for individual hunks. Right-click on the header of a diff section in the right pane to manipulate it.

    • GIT_ASKPASS support - if you don't have a git credential manager set up, GG will configure the git subprocess doing a fetch or push to request credentials using its built-in dialogs. This shouldn't affect most people, as credential managers are generally included with distributions of git.

    • Cursor indication when something is clickable.

    Fixed

    • MacOS dock icon is no longer overridden if you aren't using the CLI build.
    • receiving on a closed channel error at shutdown.
    • Button icon colours not always responding correctly to modal overlays.
    • Improved child spawning when not built as an app (that is when you install from cargo) - --foreground and background modes work more consistently.
  13. 0.37.0

    展开

    GitHub Release Homebrew 收录

    This release is based on Jujutsu 0.37.

    Added

    • Repository -> Init... and Repository -> Clone... menuitems, for creating repositories.
    • Progress bar for slow git operations (fetch, push, clone).
    • Relative timestamps update on each snapshot (which happen after modifications or when the window/tab is focused).
    • GG now respects the snapshot.auto-update-stale setting. Additionally, when first opening a repo, it will always update the working copy if it's stale.

    Fixed

    • In GUI mode, the Repository -> Open... menuitem always opened a new window even if you didn't have a workspace loaded in the current window.
  14. 0.36.4

    展开

    GitHub Release Homebrew 收录

    Added

    • Web Mode: GG can now be run using gg web, which will start a web server and a browser instead of a desktop application. It has the same featureset apart from the lack of a top menubar and features inherent to the platform - only gui mode has a taskbar icon to right-click, only web mode supports http-proxy remote access, etc.

      New command line options:

      • -p/--port: run on a specified port number (default: random).
      • --launch/--no-launch: do/don't attempt to open a browser (default: do). These can also be configured using some new [gg.web] settings.

      New config settings:

      • gg.default-mode: "gui" or "web". This controls what gg does with no subcommand specified.
      • gg.web.default-port: equivalent to --port.
      • gg.web.launch-browser: equivalent to --launch/--no-launch.
      • gg.web.client-timeout: how long the server should wait for a client ping before shutting down.

      Web mode uses a standard request-response model, shutting down when all tabs are closed or haven't pinged the backend in a while. It has HTML dialogs and context menus instead of the native ones provided by Tauri.

    • Restore and squash for individual hunks. Right-click on the header of a diff section in the right pane to manipulate it.

    • GIT_ASKPASS support - if you don't have a git credential manager set up, GG will configure the git subprocess doing a fetch or push to request credentials using its built-in dialogs. This shouldn't affect most people, as credential managers are generally included with distributions of git.

    • There's now a cursor indication when something is clickable.

    • In GUI mode, multiple window support. The "Open..." command in the Repository menu will now open another workspace. Selections and window positions are preserved independently.

    • When built as an app, MacOS recent-items support. The dock icon menu will show recent workspaces and can be used to open or switch between them.

    Fixed

    • receiving on a closed channel error at shutdown.

    • Button icon colours not always responding correctly to modal overlays.

    • When built as an app, the MacOS dock icon is no longer overridden.

    • When built as a CLI, improved child spawning - background and --foreground modes work more consistently. version and install.

  15. 0.36.3

    展开

    GitHub Release Homebrew 收录

    Fixed

    • CLI build: added dock icon on MacOS.
    • CLI build: the advertised --foreground now actually exists and works.
    • GG now respects the snapshot.auto-track setting.
  16. 0.36.2

    展开

    GitHub Release Homebrew 收录

    Added

    • GG is now available from crates.io: cargo install --locked gg-cli. This will give you a gg CLI binary on your PATH which launches the GUI in the background.
  17. 0.36.1

    展开

    GitHub Release Homebrew 收录

    Fixed

    • Change IDs in the log pane would sometimes display the wrong suffix. This was happening when a line's id changed but its prefix remained the same.
  18. 0.36.0

    展开

    GitHub Release Homebrew 收录

    This release is based on Jujutsu 0.36.

    Added

    • The text of error dialogs is now selectable for copying.

    Changed

    • Moving sub-file changes ("hunks") has been reworked with a new algorithm that will hopefully have more intuitive results and reduced conflicts. Conceptually, it now works as if you'd split the original commit into two, rebased everything, then squashed the split-out part.

    Fixes

    • Performance improvements due to updated dependencies and some internal use of async.
  19. 0.35.2

    展开

    GitHub Release Homebrew 收录

    Fixed

    • Git remote handling: gg now displays only fetchable remotes, and fetching actually works again.
    • Pushing a single bookmark with right-click was also broken for some repos, depending on config, and could fail with an error about trying to push to the "git" pseudo-remote.
    • Spurious @git bookmarks were showing up in colocated repos. This has probably been an issue for a while, but colocation became more common recently due to a change in jj defaults. Now they're hidden.
    • Graph line rendering was breaking in various ways due to our attempt to fix memory leaks with structural comparison. Switched to a different implementation (index comparison, deeper reactivity) which should be more efficient as well as unbreaking scrolling, decorations, etc.
    • Drag-drop of bookmarks was also affected, and is also fixed.
    • Spurious "receiving on a closed channel" errors at startup - they were harmless, but now they're gone.
  20. 0.35.1

    展开

    GitHub Release Homebrew 收录

    Added

    • New config option gg.ui.track-recent-workspaces, which can be set to false to disable saving recent workspaces to the config file.

    Fixed

    • Another memory leak (failure to deregister RAF callbacks).
    • Some broken graph rendering (which was relying on the previous leak!).
  21. 0.29.1

    展开

    GitHub Release Homebrew 收录

    Added

    • "New inserted parent" menu item (thanks to @brk).
    • Squash sub-file hunks from the right pane (thanks to @nightscape).
    • Restore sub-file hunks in the same way as changes.
    • Show recent workspaces if opening a workspace failed (thanks to @Natural-selection1).
    • Change and commit ID can be selected for copying.

    Fixed

    • Fix overscroll on MacOS (thanks to @mernen).
    • Compress path and action info when window is too narrow (thanks to @Natural-selection1).
    • Use from_utf8_lossy to prevent invalid utf-8 sequence errors (thanks to @jmole).
    • Enabled LTO for release builds, smaller and faster binary (thanks to @berkus).
  22. 0.29.0

    展开

    GitHub Release Homebrew 收录

    0.29.0

    This version is based on Jujutsu 0.29.

    Changed

    • Update to jj 0.29 (thanks to @nightcore and and @ilyagr).
    • Update to rust 2024 (thanks to @natural-selection1).

    Fixed

    • Excessively tall horizontal scrollbars in WebKit (thanks to @ninjamuffin99).
    • Untracked some Tauri artifacts that were changing every version (thanks to @ilyagr).
    • tauri dev is now compatible with Hyper-V (thanks to @natural-selection1).
    • Ctrl-enter keyboard shortcut on some platforms (thanks to @natural-selection1).
    • Describe box resizing on some platforms (thanks to @natural-selection1).
    • Flickering when dragging commits onto each other to rebase (thanks to @natural-selection1).