Skip to content

Releases

Zit 0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 09:21
c39e72d

Added

  • Conflicts, GitKraken's way: lines picked one by one from either side,
    shown in the output as they are picked, the output typed into and saved;
    Undo takes a pick back like anything else.
  • Pull requests: comments written on the lines of a request's changes, sent
    together as one review — comment, approve or request changes.
  • Issues have a view of their own, as the requests have: each opens in a
    tab of its own, read and answered in Zit.
  • Several branches rebased onto one at once, from its menu, one after the
    other.
  • Focus mode: Ctrl Shift F puts both panels away, and back as they were.
  • Diff: lines picked across hunks staged, unstaged or discarded at once from
    a bar over the diff; Shift+click picks a run.
  • Stashes renamed from their menu, in the sidebar or the graph.
  • Tab groups may have a name; tabs are dragged out of a group or onto one,
    and a group dragged by its label takes another's place, tabs and all.
  • Settings › Git identity lists the SSH keys in ~/.ssh with their
    fingerprints, to copy.
  • Sidebar: an icon before each line — branch, tag, remote, stash, worktree,
    request, issue — and each section's header has its icon; a double-click on
    its seam fits it to the names in its open sections; a cut branch name
    gives its full name on hover.

Changed

  • Zit is built with Zig 0.17, and dvui 0.6 with the SDL 3.4.18 it brings.
  • Opening a large repository is much faster: the 5,000 commits shown are
    walked by date and put in topological order among themselves — git/git
    reads in 11 ms, not 935.
  • Graph: a branch both here and on its remote shows the laptop and the
    cloud side by side before its name; stashes and refs have their icons.
  • Diff: a changed line's left edge is in its colour, its sign in a column of
    its own.
  • Sidebar: one section open alone takes the height, the folded ones go to
    the bottom; a fitted width never folds the commit panel away; pull
    requests and issues show only once connected to GitHub.
  • The commit summary stops at 72 characters, with no more echo under the
    fields.
  • The compare panel's "Comparing" is on a line of its own.

Fixed

  • AltGr — Ctrl Alt on Windows — sets off no shortcut.

Verify a download with sha256sum -c SHA256SUMS --ignore-missing.

Zit 0.1.3

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:12
b5edc08

Added

  • Six themes: Zit Dark and Zit Light, and Catppuccin's four — Latte,
    Frappé, Macchiato and Mocha — picked from cards in Settings › Appearance,
    with the size of the app's text (Small to Larger) and of the code in a
    diff or a blame (10 to 14).
  • Each repository has its own page in the settings: a name and email for
    its commits alone, how Pull joins what it fetched, pruning and signing —
    written in its .git/config, "As everywhere" leaving it to the global
    one.
  • Open in editor, above a diff, opens the file in your editor; the editor
    and the terminal are picked from those Zit finds on the computer, or left
    to the system.
  • An image in a diff shows as an image, before and after.
  • Authors' pictures in the graph can be turned off: each commit is then a
    dot.
  • A start page of Zit's own: open a folder, clone, a new repository, and
    the recent ones to find by typing.
  • About Zit: the version and platform, the documentation, what's new, the
    source and where to report a problem, then what Zit does by category. The
    avatar's menu opens the documentation and About.
  • The website has a guide: a tour of the window, the history, staging and
    committing, branches and remotes, pull requests, tabs and the settings,
    each with screenshots of the app.

Changed

  • A commit's summary stops at 72 characters, as git log expects: what is
    typed past it goes on in the description, and a line under the box says
    so.
  • Tab groups are coloured dots before their tabs, as Chrome's, made in a
    dialog with their colour; a click on the dot folds the group.
  • Every dialog has one design — a header, its body, a foot under a rule —
    and every alert one shape, its button in its colour.
  • The settings list their sections down the left, grouped: Zit, Commits,
    Repositories; GitHub is under Integrations.
  • A commit's files are filtered by kind — added, modified, deleted — after
    All files; the diff and the commit panel are roomier, the code a little
    smaller.
  • The toolbar has Undo and Redo on its left, and says what each button can
    do. The menu of the graph's branches is at the end of the BRANCH / TAG
    header. Tags come last in the sidebar.
  • The zoom keys work on AZERTY and QWERTZ keyboards: Ctrl - on the 6 key,
    Ctrl + with its own key.

Added

  • Redo beside Undo in the toolbar, as GitKraken has them: lit after an
    undo, until something else moves the branch — Ctrl Shift Z and Ctrl Y
    as before. Each says on hover what it would take back: Undo “commit:
    Fix login”.
  • A website, damienmonchaty.github.io/zit:
    installing, connecting GitHub, every feature, the search syntax and the
    keyboard shortcuts.
  • A zoom for the whole window, as a browser's: Ctrl = and Ctrl - (the
    keypad's too) a tenth at a time from 70 to 200 %, Ctrl 0 back to 100 %,
    also in the command palette. It is remembered, and shown in the status bar
    when it is not 100 % — a click there resets it.

Changed

  • On Windows, Zit draws through Direct3D 12 where there is one, rather
    than 11: about 30 MB less memory of its own and half the wake-ups, the
    same pixels.
  • The downloads are nearly half the size: 7.3 MB for Windows instead of
    12.5, 3.2 MB for the Linux archive instead of 5.5. Nothing Zit uses is
    gone — what is left out is code nothing calls: SDL's audio, joysticks and
    cameras, dvui's debug window, the fonts of the theme Zit replaces as it
    starts. The text is drawn exactly as before.
  • The author filter filters: the history is read again with the other
    authors' commits left out, each one kept joined to the nearest kept one
    before it, so the lanes still say how they follow one another — as
    git log --author --graph draws them — and an author's older commits are
    found beyond the last 5,000. The AUTHOR header names who it is narrowed
    to, and a chip over the graph says how many commits are theirs, with
    "show all authors". Its menu lists each author with their picture,
    address and how many commits — you first, those picked kept at the top —
    a click on one shows theirs alone, the box beside it adds or takes them
    off, and Enter in its field takes the first one shown. A commit's menu
    has "Only commits by…" and adds its author to the filter, or takes them
    off. Authors are told apart by name and address together, and read
    through the repository's .mailmap, so one person under two spellings
    is one author.
  • A merge, rebase, cherry-pick or revert under way is said at the toolbar's
    right end, as GitComet's action bar says it: REBASING, MERGING… in bold,
    how far and how many conflicts under it, and the whole of it on hover —
    "Rebasing feat onto main", the commit it stopped on. Beside it Abort, Skip,
    and the next thing to do as the one filled button: Resolve the conflicts,
    Next file, Continue (also Ctrl Enter and the palette), or Skip empty for
    a commit its resolution left empty. Skip now works for cherry-picks and
    reverts too. The sidebar lists the conflicted files, each a click away.
  • Nothing pushes the window down under the toolbar any more. A name asked
    for — a new branch or tag, a remote, a stash's message, a rename, a
    worktree — is asked in a dialog: Enter makes it, Esc lets it be. A yes or
    no for what cannot be undone is a toast low on the right, its button named
    for what it does — Discard, Delete, Force push, Abort — with Esc for
    Cancel. A branch dropped onto another opens a menu where it was let go, as
    GitKraken's, with the two things it can mean: merge it in, or rebase onto
    it.
  • The conflict view works from the keys, as GitComet's: one region at a time
    is the active one, framed, with ↑ ↓ (or F2 F3) to move, 1 2 3
    to keep the left side, the right one or both, U or Ctrl Z to take the
    last pick back, Enter to stage a file with nothing left in it and open
    the next, F4 for the next conflicted file. A click on an unresolved line
    of the output goes to its region.
  • Each region shows its base — what the file had before either side
    changed it — even when git wrote plain markers, its default: Zit merges
    the file again from the index to find it. Regions that resolve on their
    own are marked — both sides made the same change, only one side changed
    it, or each changed different lines next to each other — and one click
    resolves them all, each line from the side that changed it.
  • "All of main" and "All of feature/x" stage the file in the same click and
    open the next one; Undo pick and Start over take a file back. A file
    deleted on one side asks plainly — keep it, or delete it — and a binary
    file offers one side's version or the other's, instead of a page of noise.
  • A pull request takes the whole pane, with GitHub's sidebar on its right:
    who reviews and where each stands, who it is assigned to, its labels.
    Each section's head drops the list to change it — the people who can be
    asked, the repository's labels with their colours — and each tick is sent
    at once. The pictures and the icons down its timeline are one size. Its
    list's filters — open, to review, mine, drafts, merged, closed — are a
    select beside the search, each with how many it holds. Its comments and reviews fold like an accordion: a click on one's
    head folds or opens it, a folded one keeps its first line; a long
    conversation opens on the description and the last three, with Expand all
    and Collapse all. Its actions are icons on its title's line — check out,
    open on GitHub, edit, back to draft, read again — and its readiness line
    ends with the one thing to do next: rebase it onto its base here (or merge
    the base in) when it conflicts, Update branch when it is behind, the
    failing checks, Ready for review for a draft, or Merge.
  • A pull request someone asked changes of says who, and how many
    conversations are left — "ann asked for changes · 2 open conversations" —
    with what to do about it: Show them, Check out to fix, then Re-request
    review. Each reviewer who answered can be asked again from the sidebar.
  • A pull request's conversations on lines of the diff sit under the review
    that opened them, as on GitHub; a resolved one is folded to its first
    words, and a review with one still open is never folded away. A
    suggestion reads as the change it is, the lines it replaces and what with,
    and Apply suggestion writes it into the file here: on the request's
    branch, and only while those lines still read as the comment saw them.
    Its button then says Applied here, with See the change. A conversation
    with a suggestion shows its code once: the lines around in grey, those it
    replaces in red, what with in green. Under a file in Files changed, a
    conversation is headed by its line — "Line 3" — not the file's name again.
  • A pull request opens with its head at once — its number, title, author
    and branches, from the list — the rest loading under it, rather than a
    blank pane. Read again, after an action or from its refresh icon, it stays
    on screen, with the loading dots and what is being done — "Resolving",
    "Reading" — in place of the icon.
    A reply can resolve its conversation in the same click, and Ctrl Enter
    sends it. The request's head and tabs run from one edge of the pane to
    the other.
  • Checking out a pull request works as gh pr checkout: its branch tracks
    the remote's, and a branch already here is brought up to date rather than
    left behind. A fork's request goes on pr/N, never onto a branch of yours
    of the same name. Update branch and Merge name the commit they were shown
    at, so GitHub refuses rather than act on a branch that moved; the request
    is read again once GitHub has updated it.
  • In the pull requests, ↑ ↓ (or K J) walk the list in its order, 1
    to 4 open its tabs, Ctrl Enter sends the review box as a comment, and
    the checked-out branch's request is the one open to begin with.
  • The create and edit pull request ...
Read more

Zit 0.1.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 06:34
3b62bd8

Fixed

  • The text of a one-line field is centred in it, instead of sitting near its top.
  • The first tab starts at the window's edge, and the active tab is joined to the
    bar below it, with no line between.
  • In the sidebar, a branch's name is centred on its row, level with the eye and
    the ⋯.
  • On Windows, Settings › Commit signing opens at once, and switching branch
    no longer freezes the window: both wait for git on another thread, with
    the status bar's progress pill while the switch runs.
  • A click refused because a command is still running — a branch switched to
    during a fetch — says so beside that command's pill, instead of behind it.
  • On Windows, console windows no longer flash open each time Zit runs git or
    curl.
  • With more tabs than the window is wide, the tabs scroll and the pull
    requests button, the account menu and the window's own buttons stay in
    sight; the tab switched to is scrolled into view.

Verify a download with sha256sum -c SHA256SUMS --ignore-missing.

Zit 0.1.1

Choose a tag to compare

@DamienMonchaty DamienMonchaty released this 29 Oct 15:38

Zit 0.1.1

  • Connecting to GitHub works again: choose Connect GitHub and type the code shown on github.com
  • With Use GitHub off, Zit sends nothing to GitHub — author pictures included
  • A privacy policy: no server, no telemetry

Download

Platform File
Windows 10 and later (x86_64) zit-windows-x86_64.exe — run it, nothing to install
Linux x86_64 (glibc 2.31+) zit-linux-x86_64.tar.gz — unpack, then run ./install.sh to add Zit to your applications menu

Zit needs git on the PATH. curl is optional: it brings author pictures and the GitHub integration.

What's in it

  • History — a graph where each commit shows its author, search (author:, path:, code:, after:), blame, file history through renames, compare two commits
  • Changes & commits — stage files, hunks or single lines; ticket from the branch, conventional commits, co-authors, signing, amend; undo and redo
  • Branches — merge, rebase, interactive rebase, drag one branch onto another, cherry-pick, revert, reset, tags
  • Remotes — fetch in the background, pull, push, force push with a lease, stashes, worktrees, Git LFS
  • GitHub — pull requests with checks, reviews and threads; create, check out, review, merge, auto-merge; issues. Sign in with a code on github.com, or switch it all off
  • Workspace — tabs and groups restored at start, command palette (Ctrl+P), focus mode, dark and light themes

Zit 0.1.0

Choose a tag to compare

@DamienMonchaty DamienMonchaty released this 29 Oct 14:27

Superseded by Zit 0.1.1: this build's GitHub sign-in no longer works, so its downloads were removed.