Repository navigation
0.17
Gittan 0.17.142, an automated build of the latest source (build 142).
Changes
Added
- Signed commits show a shield in the commit graph and a line on the commit's card: filled with a check when git vouches for the signature, red for a bad or revoked one, outlined for a key not known here or a signature git could not check, which the card explains (an SSH signature wants an allowed signers file, an OpenPGP one gpg), rather than passing such a commit off as unsigned, as git's own letter does.
- Signing your own commits is set up in the Name and Email dialog: sign with an SSH key (ssh-keygen comes with macOS, Linux and Windows, and GitHub, GitLab and the others verify it) or a GPG key, pick the key from those found in ~/.ssh, the ssh agent or gpg, and Test signs a throwaway commit to show the chain works before anything is saved. Saving writes commit.gpgsign, tag.gpgSign, gpg.format and user.signingkey at the identity's scope, and for an SSH key sets up the allowed signers file, so your commits show as verified in Gittan too. When gpg is missing the dialog says where to get it.
- A commit signed with a key not known here can be trusted on GitHub's word: "Trust github.com's keys" on the commit's card, or Trust Signing Keys from github.com in its menu, asks GitHub who made the commit, fetches their GPG and SSH signing keys (a merge made on the web is GitHub's own key), puts the GPG keys into your gpg and the SSH keys into the allowed signers file, and shows those commits as verified, marked trusted through github.com. gpg's own trust settings are left alone; the fingerprints you trusted are kept in settings.json.
- Co-authors: the chevron beside Amend, and Commit > Co-authors..., open a list of the people you have credited before and the repository's recent authors to tick, or someone new as Name ; each gets a Co-authored-by line in the commit's message. The label beside Amend shows who, and the choice lasts for one commit.
- Merging a branch asks how: a branch with no commits of its own since they parted offers Fast-forward, Merge Commit and Squash, one with commits of its own Merge and Squash, and the question says how many commits come in. A squash stages the changes with git's message in the Commit section, for one commit of yours.
- The merge editor can show the merge base, what both sides started from, as a pane between Mine and Theirs: Show Base in the header, when the conflict markers hold it. The merges, rebases, cherry-picks, reverts, pulls and stash applies Gittan runs now ask git to write the base into the markers (merge.conflictStyle zdiff3), unless the repository sets a style of its own.
- A changed image can be shown in more ways than side by side: Swipe lays the old and the new version over each other with a divider to drag, Onion Skin draws the new one over the old with an opacity to set, and Difference shows where two images of the same size differ. The pills under the captions choose, as does View > Image, and the choice is kept.
- An extension can ask with buttons of its own:
Gittan.ui.message({title, text, kind, buttons, default, cancel})shows a message with an info, warning, error or question icon and up to six buttons, and gives the index of the one pressed. The extensions guide now describes the dialogs. - The globe counts the pull requests waiting for your review, and GitHub is asked again every five minutes, so the count follows without opening the GitHub view.
- A card in the GitHub view has its next step as a button: Review on one waiting for your review (Review on GitHub when there is no clone to compare in), Merge with the three ways to merge on one of yours that is approved with its checks passing. Three dots open the card's menu, so what a right click offers is in sight, and the card's tooltip says where a click goes: compare in the open repository, open its clone, or open it on GitHub.
- The GitHub view has a search field (View > Find..., Cmd+F) that keeps the pull requests whose number, title, repository, author or branch hold the words typed, and works from the keyboard: Up and Down move from card to card, Return opens the one picked, the menu key opens its menu, Escape empties the search.
- The Batch tab works without GitHub: the globe is always there, and without a hosting service it opens Batch alone, with a note and a link to the Hosting settings.
- Commands of your own for a repository go in
.git/gittan/commands.toml, which is never committed and needs no trust. The Commands page lists them under Personal, with Create… until the file exists, and the Config section lists the file. Its keys come before those of the committed files, and a table naming a script, target or tool command gives it your own key. A worktree shares the file with the main checkout. .gittan/repo.tomlsays what a repository wants, for everyone who clones it, and needs no trust as nothing in it runs. It can name the kinds of project (project =, before the line of the same name in commands.toml), give the issue tracker for the links in commit messages ([issues], when git config names none), set the subject's lengths, a message template and sign-off by default, ask for Conventional Commits subjects withtypesandscopes, and list protected branches. The Commit section says when a subject is not of the listed types or a protected branch is checked out, without stopping the commit. The whole.gittanfolder is described in docs/gittan-folder/README.md.
Changed
- A dialog from an extension is headed by its own title, or the extension's name for
alertandconfirm, rather than by Extension "name"; a dim line with a puzzle piece beside the buttons says which extension it is from. What an extension logs withconsole.logshows the same way. - The cards of the GitHub view are easier to scan: the pull request glyph is red while changes are asked for or checks fail and yellow while checks run, "Waiting for you" stands out in yellow, "Asked again" takes its place rather than standing beside it, the reviewers line no longer repeats who the chip names, and the link to a local clone is a dim line rather than a blue one.
- The filters of the GitHub view take one row: the presets, each with how many pull requests it leaves, then one Filter menu with the filters under their groups, then the order. The Filter chip names the filters on only while no preset does, so what is on is said once. Whether changes requested and failing checks need attention is set on the Hosting page of the settings rather than in the filter menus.
- On the Batch tab the buttons that do something (Check, Scan, Delete, Run) are filled, so they no longer look like the picked operation, and repositories with the same folder name are told apart by their parent folders ("clean/trailhead", "conflict/trailhead"), in the list and on the cards.
- In a narrow window a card's chips in the GitHub view go on a line of their own rather than cut the title to a few words.
- What an action on a pull request in the GitHub view did shows in a banner over the page ("Merged #12"), and a failure shows GitHub's words there rather than in a dialog.
- Syntax highlighting is worked out faster, by about a third on large Markdown and HTML files (EControl, ATSynEdit_Ex and ATSynEdit updated).
Fixed
- The Batch tab's scan for gone branches no longer leaves a loose commit object in each repository for every branch that was not merged: the squash check compares patch ids instead of making a commit, so Maintenance no longer finds objects to pack that the scan itself left.
- On macOS the shown tab is filled all through, so the line where the sidebar's shade meets the editor's no longer shows across it.
- The GitHub view says when GitHub has more pull requests than the fifty last changed it lists, rather than leaving the rest out without a word.
- Your own pull requests no longer offer Approve and Request Changes, which GitHub refuses for the author; Comment is still there.
- Go to Symbol, Go to Symbol in Repository and Changed Symbols open their list under the file header, or under the title bar over the summary, instead of over the tabs.
- Go to Symbol, Changed Symbols and Callers of Changed Symbols say in the status bar that a file has to be shown first, rather than doing nothing.
- Go > Time-lapse plays the file of the Code History shown, rather than asking for a file.
- After a time-lapse, a file without changes no longer shows the time-lapse's counter in its header over the Revert and Save buttons.
- Escape closes the Code History and the time-lapse and goes back to what was shown before.
- Blame and Side by Side on a new file say in the status bar that it has no committed lines, rather than showing empty panes. A file added in a commit you compare still has its blame.
- File > New Tab and Repository List go to the empty tab when there is one, rather than opening another.
- The Settings window keeps its height on About instead of growing by a line.
- While two commits are compared, an edit of
.gittan/commands.tomlis picked up without a refresh. - Back and Forward pass over the Pull Requests page when the hosting service has been turned off since, rather than stopping there with nothing shown.
- The GitHub view says you're not logged in when gh has no account, with Log In in Terminal (runs
gh auth login) and Hosting Settings, rather than showing gh's message in red.
Downloads
- Gittan-macos-silicon.dmg — macOS on Apple Silicon. The app is signed ad hoc, so macOS blocks it at first: drag it to Applications, then run
xattr -cr /Applications/Gittan.appin Terminal. - Gittan-macos-intel.dmg — macOS on Intel Macs, installed the same way. On Apple Silicon take the one above.
- Gittan-windows-x64-setup.exe — Windows x64 installer, for the current user without an administrator or for everyone; adds Open in Gittan to folders' context menu and the gittan command to the PATH. It is not signed, so SmartScreen warns: More info, then Run anyway.
- Gittan-windows-x64.zip — Windows x64 without installing. Unzip anywhere and run Gittan.exe.
- Gittan-linux-amd64.deb — Debian and Ubuntu:
sudo apt install ./Gittan-linux-amd64.deb. - Gittan-linux-x86_64.rpm — Fedora and other RPM distributions:
sudo dnf install ./Gittan-linux-x86_64.rpm(zypper installon openSUSE). - Gittan-linux-amd64.tar.gz — Linux amd64 without installing, needs GTK 3. Unpacked, it has no launcher or icon in the desktop's menu.
- Gittan-linux-arm64.deb, Gittan-linux-aarch64.rpm and Gittan-linux-arm64.tar.gz — the same for arm64 Linux, such as Raspberry Pi OS (64-bit):
sudo apt install ./Gittan-linux-arm64.deb. - Gittan-haiku-x86_64.tar.gz — Haiku (64-bit) without installing, needs Qt 6 from HaikuPorts (
pkgman install libqt6pas). Unpack anywhere and run Gittan. - Gittan-windows-arm64.zip — Windows 11 on Arm, native, without installing; built with a development version of Free Pascal (3.3.1). Unpack anywhere and run Gittan.exe.
Gittan runs the git command line tool, so git must be on your PATH.