Hacker GitHub

← All repos

romkatv/gitstatus

View on GitHub ↗ ★ 1,844 C++

Git status for Bash and Zsh prompt

7 mentions on Hacker News by 3 people: 2 stories, 5 comments · first 2019-03-03 · latest 2026-06-19

Mentions per year 7 mentions · busiest year 2019 (6)
20082026
  1. …already done this for a git repo in my current dir. I originally rolled my own but eventually found https://github.com/romkatv/gitstatus which is much faster. So, along with background fetches/pushes, at any point I can tell what revision…
    comment by duskdozer · 2026-06-19 · in Migrating from GNU Stow to Chezmoi
  2. I've posted some details explaining why gitstatusd doesn't use inotify in https://github.com/romkatv/gitstatus/commit/050aaaa04b652e15... . The short version is that the default max_user_watches limit is much too low to be useful for…
    comment by romka2 · 2019-04-08 · in Fast Directory Listing on Linux
  3. The job of gitstatusd is to put Git status in your shell prompt. See screenshot at the top of https://github.com/romkatv/gitstatus . This is an amazingly convenient tool. When you are working on chromium, on every command you type…
    comment by romka2 · 2019-04-07 · in Fast Directory Listing on Linux
  4. Take a look at the example: https://github.com/romkatv/gitstatus#gitstatusd . Even though this example uses ZSH, it's just for exposition. It launches gitstatusd, writes a request to its stdin, reads the request from stdout and prints it.…
  5. …and haven't tried it yet. The reason why this is so much faster seems to mostly be that it uses https://github.com/romkatv/gitstatus (by the same author) as a daemon to get git status info. The classical way of running a dozen git commands…