On Sun, Oct 26, 2008 at 11:23:35PM +0100, Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> 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.
Attachment:
pgpy1ZonIT7vR.pgp
Description: PGP signature