2020年12月24日星期四

git diff in two repos and got commit id list

I want to compare the differnt commits with two repos, for example Android_10.0_r2 and Android_11.0_r3

the changes are frequent and since Google merge inner code to AOSP, some commit even older than Android_10.0_r2 merged to Android_11.0_r3, I don't want to miss that from git log checking

so I record all commit logs in both repos and select the different change_ids/commit_ids.

But since the git log is too much in AOSP and it have 400+ repos, it runs 1 hour+ in my PC.

Any idea that git command may have directly way for geting the different commit_ids between two repo?

The git diff with two repo dir shows diff of the files, since changelist is long, the commit message diff is more effective

https://stackoverflow.com/questions/65438922/git-diff-in-two-repos-and-got-commit-id-list December 24, 2020 at 09:24PM

没有评论:

发表评论