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
P1085R2 Should Span be Regular? #2478
Conversation
Reviewed by @burblebee: good @zygoloid When sources are provided (and have been reviewed by a member), is it OK to create a PR directly like this? Note that the commit message needs to be fixed to |
@burblebee For future reference, I'd like the pull request to be moved to a properly-named branch in our repository in a case like this, so that I can amend and rebase it as needed when merging. I'll do that for this one (but it looks like that requires closing this and opening a new PR). |
Superseded by #2508. |
@zygoloid Thanks for letting me know. How were you able to checkout Tony's commit so that you could create a new branch from it? I can't see his commit from my tree. I get:
Is that commit is on tvaneerd's fork? If so, I tried the following based on this from stackoverflow:
But the fetch results in the error:
|
I'm not a git master.
... or a knight even; just a padawan, so I don't know.
I was hoping a pull request would make things easier. :-( I still hope we
can find a pattern that works.
(I'd also like some tooling that takes a pull request and builds a nicely
formatted red/green diff from it...)
Tony
…On Tue, Nov 27, 2018 at 3:57 PM burblebee ***@***.***> wrote:
@burblebee <https://github.com/burblebee> For future reference, I'd like
the pull request to be moved to a properly-named branch in our repository
in a case like this ...
@zygoloid <https://github.com/zygoloid> Thanks for letting me know. How
were you able to checkout Tony's commit so that you could create a new
branch from it? I can't see his commit from my tree. I get:
$git show 482d0d2
fatal: bad object 482d0d2
Is that commit is on tvaneerd's fork? If so, I tried the following base on
this
<https://stackoverflow.com/questions/9153598/how-do-i-fetch-a-branch-on-someone-elses-fork-on-github>
from stackoverflow:
git remote add tvaneerd https://github.com/tvaneerd/cplusplus/draft.git
git fetch tvaneerd
git checkout -b mypatch-1 tvaneerd/patch-1
But the fetch results in the error:
remote: Not Found
fatal: repository 'https://github.com/tvaneerd/cplusplus/draft.git/' not found
@jwakely <https://github.com/jwakely> @tvaneerd
<https://github.com/tvaneerd> Any idea what I'm doing wrong?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2478 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADn9D3CQjqx0FnDaap2auS3QqmnQBJntks5uzacpgaJpZM4YlhJG>
.
--
Be seeing you,
Tony
|
The proper remote URL is |
There's no need for the remote repository: pull requests are part of the destination repository, and they can be checked out just like any other branch. If you want, you can make a pull request and immediately delete your repository and your github account, and we still have the PR. |
@CaseyCarter That URL worked!! Thank you!! :) . So the correct commands are:
@tvaneerd Apparently creating the PR works also, but I wanted to be able to grab the sources locally before taking that step. Now I know how to do that thanks to Casey :).
|
Fixes #2429.