All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Jordi Bunster <jordi@bunster.org>
Cc: git@vger.kernel.org
Subject: Re: git status "short circuit"?
Date: Fri, 13 Feb 2009 09:36:15 -0800	[thread overview]
Message-ID: <20090213173615.GA30949@spearce.org> (raw)
In-Reply-To: <BF509531-D8A4-4F5F-894F-735252AA4C26@bunster.org>

Jordi Bunster <jordi@bunster.org> wrote:
> 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?

Latest version of the bash completion package has a dirty prompt
setting you can enable.  Grab it out of the git repository and try
it out.

-- 
Shawn.

      reply	other threads:[~2009-02-13 17:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 17:34 git status "short circuit"? Jordi Bunster
2009-02-13 17:36 ` Shawn O. Pearce [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090213173615.GA30949@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=jordi@bunster.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.