After a fetch perform a diff against the remote of the current branch #509
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After performing a fetch I almost always get an unexpected and seemingly incorrect list of changed files.
The diff is being done with
..origin
specifed however (at least on my setup) this only ever results in the diff being done against the main branch and not the remote for the branch that I am actually on, which would be for example a feature branch that was branched from another non-main branch.Unless I am misunderstanding what the intended result of this diff output is then it seems as though the current branch name should be specified too, for example
..origin/foo/feature1
so that the diff is comparing the localfoo/feature1
branch with the corresponding remote, this is the diff output that I would expect to see.git version 2.34.1
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1 (Build 267_2U) Tue Apr 30 2024 16:04:37 EDT