Ignore history for git and support verbose mode

Obtained from:	dragonfly branch