Re: git working tree status
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Oct 26, 2008, 22:26 UTC
- Message-ID
- <20081026222608.GK2273@genesis.frugalware.org>
- In-Reply-To
- <20081026222335.GJ2273@genesis.frugalware.org>
On Sun, Oct 26, 2008 at 11:23:35PM +0100, Miklos Vajna <vmiklos@frugalware.org> wrote:
> > c) 'dirty' in some way -- new files, uncommitted changes, etc. > > git update-index -q --refresh > test -z "$(git diff-index --name-only HEAD --)" && echo "dirty"
I wanted to write '|| echo "dirty"', sorry.