support -r REVISION on git
simplify