git status "short circuit"?
- From
- Jordi Bunster <jordi@bunster.org>
- Date
- Feb 13, 2009, 17:34 UTC
- Message-ID
- <BF509531-D8A4-4F5F-894F-735252AA4C26@bunster.org>
I have a prompt snippet that shows me if there's something staged/ changed/untracked (as different characters).
It parses the output of git status. Since I don't really need to know *all* that is staged/dirty/untracked, I was wondering if there's something faster I could use. Something that stops at the first occurrence of each category, perhaps.
Any ideas?
P.S.: I'm not subscribed, please Cc.
-- Jordi