{"thread":{"id":"17778","subject":"git status \"short circuit\"?","startedAt":"2009-02-13T17:34:50Z","lastAt":"2009-02-13T17:36:15Z","messageCount":2,"participants":["Jordi Bunster","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"104532","messageId":"BF509531-D8A4-4F5F-894F-735252AA4C26@bunster.org","threadId":"17778","inReplyTo":null,"subject":"git status \"short circuit\"?","fromName":"Jordi Bunster","fromEmail":"jordi@bunster.org","sentAt":"2009-02-13T17:34:50Z","receivedAt":"2009-02-13T17:34:50Z","isPatch":false,"sender":{"key":"jordi@bunster.org","avatar":null},"body":"I have a prompt snippet that shows me if there's something staged/ \nchanged/untracked (as different characters).\n\nIt parses the output of git status. Since I don't really need to know  \n*all* that is staged/dirty/untracked, I was wondering if there's  \nsomething faster I could use. Something that stops at the first  \noccurrence of each category, perhaps.\n\nAny ideas?\n\nP.S.: I'm not subscribed, please Cc.\n\n--\n\tJordi\n\n"},{"id":"104533","messageId":"20090213173615.GA30949@spearce.org","threadId":"17778","inReplyTo":"BF509531-D8A4-4F5F-894F-735252AA4C26@bunster.org","subject":"Re: git status \"short circuit\"?","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2009-02-13T17:36:15Z","receivedAt":"2009-02-13T17:36:15Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jordi Bunster <jordi@bunster.org> wrote:\n> I have a prompt snippet that shows me if there's something staged/ \n> changed/untracked (as different characters).\n>\n> It parses the output of git status. Since I don't really need to know  \n> *all* that is staged/dirty/untracked, I was wondering if there's  \n> something faster I could use. Something that stops at the first  \n> occurrence of each category, perhaps.\n>\n> Any ideas?\n\nLatest version of the bash completion package has a dirty prompt\nsetting you can enable.  Grab it out of the git repository and try\nit out.\n\n-- \nShawn.\n"}]}