scripts: do more check before a git rev-parse
Handle the situation that the source tree does not contain .git . Fix error: 'Fatal: Not a git repository'.
Showing
想要评论请 注册 或 登录
Handle the situation that the source tree does not contain .git . Fix error: 'Fatal: Not a git repository'.