func (g *gitCmd) haltProcess() {
	g.RLock()
	monitoring := g.monitoring
	g.RUnlock()

	if monitoring {
		g.haltChan <- struct{}{}
	}
}
func (g *gitCmd) haltProcess() {
	g.RLock()
	monitoring := g.monitoring
	g.RUnlock()

	if monitoring {
		g.haltChan <- struct{}{}
	}
}
func ( g * gitCmd ) haltProcess ( ) { g . RLock ( ) monitoring := g . monitoring g . RUnlock ( ) if monitoring { g . haltChan <- struct { } { } } }
// haltProcess halts the running process
haltProcess halts the running process