New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Determine list of folders "changed" between one branch and another. #1749
Comments
You probably want the Compare Commits API:
That will list out the whole file list, and it has some limits which are mentioned in the docs, but that should do the trick. |
@shiftkey - Hi, If I see AheadBy as non-zero these collections are populated.... |
so is the answer here that in the comparison sense, it doesn report on the commit/file level of the BEHIND changes? Just like if you have a PR that is behind master, github.com doesnt show you the changes your PR "doesn't" have in it's branches, only "what would change in the base branch if you merge this PR". Could you diff in the other direction (B->A rather than A->B) if you want to get the reverse changes? |
@ryangribble - Yes, "diffing" in reverse is an interesting suggestion, I'll certainly play with that and try to update this issue with what I find. |
👋 Hey Friends, this issue has been automatically marked as |
If I have two branches (in some Octokit app) and we know these branches are out of step, is there a way to generate a list of distinct folder names which are involved in all of the difference?
I could easily generate this from the list of files I guess, since their full path will be present.
So better question: is there way to get the list of files involved between these two commits?
Thx
The text was updated successfully, but these errors were encountered: