The following command shows last commit changed files:
aa=$(git diff-tree --no-commit-id --name-only -r $(git log -2 --pretty=format:"%h") | sed 's%/[^/]*$%/%'| sort -u | awk '{print "github.com/hyperledger/fabric/"$1"..."}' | grep -v gitignore | while read kkk; do go list $kkk; done | sort -u)
git diff-tree --no-commit-id --name-only -r $(git log -2 --pretty=format:"%h")
No comments:
Post a Comment