revision support for git

Summary: Ref T631

Test Plan: N/A

Reviewers: wuzesheng, liushaohui

Reviewed By: wuzesheng

CC: infra-dev

Maniphest Tasks: T631

Differential Revision: http://phabricator.n.miliao.com/D1533

git-svn-id: https://code.miliao.com/repos/xiaomi-miliao/trunk/src/cloud/infra/minos@113396 e1a62a3c-03e2-43f2-b1ff-b74bda9a2190
modify command 'git show $dir'

Summary: Ref T631

Test Plan: N/A

Reviewers: liushaohui

Reviewed By: liushaohui

CC: infra-dev

Maniphest Tasks: T631

Differential Revision: http://phabricator.n.miliao.com/D1536

git-svn-id: https://code.miliao.com/repos/xiaomi-miliao/trunk/src/cloud/infra/minos@113487 e1a62a3c-03e2-43f2-b1ff-b74bda9a2190