Skip to content

push: base new branch on latest upstream main#47

Open
RalfJung wants to merge 1 commit intorust-lang:mainfrom
RalfJung:push-on-latest
Open

push: base new branch on latest upstream main#47
RalfJung wants to merge 1 commit intorust-lang:mainfrom
RalfJung:push-on-latest

Conversation

@RalfJung
Copy link
Copy Markdown
Member

Fixes #46

I tested this by doing a Miri-push.
Cc @lnicola

Comment thread src/sync.rs
"push",
&user_upstream_url,
&format!("{base_upstream_sha}:refs/heads/{branch}"),
&format!("FETCH_HEAD:refs/heads/{branch}"),
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we rely on nothing else working on the same git repo concurrently as that could clobber FETCH_HEAD...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

push should likely push to latest HEAD, not the commit recorded in rust-version

1 participant