Skip to content

Gitty 0.1.3

Choose a tag to compare

@baojie baojie released this 07 Aug 12:51
· 196 commits to master since this release

Added

  • Push and Pull in the commits pane header, on the checked-out branch.
    Push carries the count of unpushed commits (Push 3) and greys out
    when there is nothing to send; on a branch that tracks nothing it publishes
    to origin and sets the upstream. Pull fast-forwards from the upstream
    and greys out when there is none. Git's own output appears above the log,
    clicked away when read — failures stay until dismissed. A push or pull that
    needs a credential prompt fails with git's message instead of hanging (there
    is no terminal behind them); the terminal pane is where it gets finished.
  • Every pane hides and comes back: a × at each pane header's end hides it,
    Panes in the title bar lists all four with a dot on the visible ones, and
    Ctrl+1Ctrl+4 toggle them in layout order. The remaining
    panes share the space; the last visible pane keeps its × hidden, so the
    window is never empty. What is hidden is remembered across restarts, and
    hiding the terminal pane leaves its shells running, scrollback intact.
  • The file heading stays in view while scrolling a whole-file diff: when it
    scrolls past the top of the pane it pins itself there until the next file's
    heading pushes it away. A single-file diff is unaffected.
  • Every pane goes full screen, not just the diff. at the left of each pane
    header fills the window; , Esc, a header double-click or
    Ctrl+Shift+1Ctrl+Shift+4 restores the layout. The
    diff's Full Screen / Restore button is gone, its corner button
    replacing it.
  • Hovering a pane title shows a styled tooltip spelling the pane's own gestures
    — the keys that hide it and fill the window — with the key labels
    colour-coded.

Fixed

  • Reading a long file no longer jumps back to the top when the file changes on
    disk. The position is kept across a reload, with the lines already loaded in
    the source view; only opening a different document rewinds.
  • The window list and the dock show Gitty's icon instead of a generic
    placeholder. The desktop entry now carries StartupWMClass=electron: an
    unpackaged Electron app reports electron as its window class (its Wayland
    app_id) whatever app.setName, --class, CHROME_DESKTOP or a renamed
    binary say. Re-run ./setup.sh and restart Gitty to pick it up.
  • The work tree pane no longer gets stuck listing changes that are already
    committed. A burst of file-system events could start several refreshes at
    once, and a slow earlier git status landing after a newer one put its stale
    file list back on screen while the diff pane showed the real state. Replies a
    newer refresh has overtaken are now discarded, for the diff pane as well.

Changed

  • README screenshot updated for this release (ref/gitty-0.1.3.png).