Skip to content

Commit d8cf714

Browse files
committed
Merge branch 'jk/pull-rebase-using-fork-point'
Finishing touches so that an expected error message will not leak to the UI. * jk/pull-rebase-using-fork-point: pull: suppress error when no remoteref is found
2 parents 14598b9 + ffc2b48 commit d8cf714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ test true = "$rebase" && {
229229
test -n "$curr_branch" &&
230230
. git-parse-remote &&
231231
remoteref="$(get_remote_merge_branch "$@" 2>/dev/null)" &&
232-
oldremoteref=$(git merge-base --fork-point "$remoteref" $curr_branch)
232+
oldremoteref=$(git merge-base --fork-point "$remoteref" $curr_branch 2>/dev/null)
233233
}
234234
orig_head=$(git rev-parse -q --verify HEAD)
235235
git fetch $verbosity $progress $dry_run $recurse_submodules --update-head-ok "$@" || exit 1

0 commit comments

Comments
 (0)