git-gui: relax "dirty" version detection
commit2c2a3782c5092f232e71e8d97272b82cdca0664e
authorWincent Colaiuta <win@wincent.com>
Mon, 18 Feb 2008 08:36:33 +0000 (18 09:36 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 20 Feb 2008 01:50:29 +0000 (19 20:50 -0500)
tree865b937c9ded5af575903179bcae861833ba7bf0
parent20a87ecc5861b0e1b76b99549cfaa965b2b27618
git-gui: relax "dirty" version detection

"git gui" would complain at launch if the local version of Git was
"1.5.4.2.dirty". Loosen the regular expression to look for either
"-dirty" or ".dirty", thus eliminating spurious warnings.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh