worked in gitapi to support the gitmergedialog