Fixed issue #2222: 'Prune' in the pull dialog does not work

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fixed issue #2223: Move & revert operations not as expected if working tree root is directly on a drive

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Drop commented code

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>