b89bb8153d fix(git): close native status parity gaps found in review
An adversarial review verified five silent divergences from the exec
path, each reproduced against real repositories before fixing:

- executable-bit changes were invisible on both sides: the worktree
  scan now compares the 0100 bit when core.filemode applies, and the
  HEAD tree walk carries entry modes so staged chmods surface too
- a conflict living in an otherwise-untracked directory was counted as
  an untracked entry; unmerged paths now participate in the tracked
  prefix search
- a staged rename with edits reported add+delete where git pairs them
  through similarity detection; unpaired adds and deletes on both
  sides now defer to exec git rather than risk diverging counts
- a loose ref holding a symref misreported the branch as unborn; an
  unparseable loose ref is now an error, falling back to exec git
- file-to-symlink type changes counted as modified where porcelain
  reports T, which the segment ignores; both engines now agree

SHA-256 object format, reftables ref storage, and unknown repository
format versions are also rejected deterministically instead of relying
on the index decoder to stumble. New parity scenarios cover chmod on
both sides, conflicts in fresh subdirectories, inexact renames, and
symlink type changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-02 18:33:43 +02:00
2026-07-10 16:43:37 +02:00
2025-09-11 11:23:29 +02:00
2026-07-13 16:30:38 +02:00
2024-09-19 08:29:35 +02:00
2026-02-16 16:26:51 +01:00
2026-07-15 09:05:39 +02:00
2022-02-28 07:48:03 +01:00
2023-10-05 11:41:05 +02:00

Oh My Posh logo – Prompt theme engine for any shell

MIT license badge

Build Status badge

Release version number badge

Documentation link badge ohmyposh.dev

Number of GitHub Downloads badge

This repo was made with love using GitKraken.

GitKraken shield

Sponsors

CodeRabbit J

Want to become a sponsor?

Join the community

Mastodon badge

Discord badge

What started as the offspring of oh-my-posh2 for PowerShell resulted in a cross platform, highly customizable and extensible prompt theme engine. After 4 years of working on oh-my-posh, a modern and more efficient tool was needed to suit my personal needs.

❤️ Support ❤️

Swag - Show your love with a t-shirt!

GitHub - One time support, or a recurring donation?

Ko-Fi - No coffee, no code.

Features

  • Shell and platform agnostic
  • Easily configurable
  • The most configurable prompt utility
  • Fast
  • Secondary prompt
  • Right prompt
  • Transient prompt

Documentation

Documentation

Reviews

Thanks

S
Description
The most customisable and low-latency cross platform/shell prompt renderer
Readme
159 MiB
Languages
Go 66.1%
MDX 19.2%
JavaScript 9%
PowerShell 2%
Shell 1.7%
Other 1.7%