-
Notifications
You must be signed in to change notification settings - Fork 12
Implement some missing string functions #26
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
Conversation
Are you sure you have intended to base it on all of that PR merges and unrelated commits? A PR should be as small as possible, ideally rebased against master. If it's based on some other PR (for a good reason), noting something like "please merge PR #XY first" is enough. Among others, there's commit 143c212 which was explicitly rejected by @atic-atac in #15 |
On Montag, 16. Oktober 2017 00:12:39 CEST Miro Kropacek wrote:
Are you sure you have intended to base it on all of that PR merges and
unrelated commits?
Not really, but it looks like it worked out this way. That strange list of
commits appears because i merged my own local PR branches into master, for
those that were already merged upstream.
Yes, i know. Actually, only the last 2 commits should been part of that PR.
Any idea how to fix that now?
|
What I do before applying any PR is that I switch to master, pull, create a branch and start committing. For another PR I basically repeat the same process. If/when I screw up, it's still very similar -- usually the mistake is to have master --> some branch --> maybe some other branch --> my code. So the most dumb-proof solution is just to switch to master, create something like branch_name_new, cherry pick given commits, switch to branch_name and reset its tip to branch_name_new's tip and force push. That way the PR gets fixed without anyone knowing. ;-) |
On Montag, 16. Oktober 2017 00:52:32 CEST Miro Kropacek wrote:
If/when I screw up, it's still very similar -- usually the mistake is to
have master --> some branch --> maybe some other branch --> my code. So the
most dumb-proof solution is just to switch to master, create something like
branch_name_new, cherry pick given commits, switch to branch_name and reset
its tip to branch_name_new and force push. That way the PR gets fixed
without anyone knowing. ;-)
Thats sounds complicated, and also not very transparent ;) And you can only do
a forced push as long as nobody else has already pulled the new objects.
In our case, the PR applies cleanly, although some of the referenced commits
have already been merged into master. I think that is just because git sees
the same commit ids in both master and this PR. So only problem is how to get
rid of those commits as part of this PRs, otherwise its not very obvious what
is new and what not.
|
But that doesn't matter -- it's your PR, your branch, your code. You can rebase it ten times and will be still OK because the reviewer get the look on your latest changes, not the mess which led there.
See above, feel free to rewrite your branch's history, totally fine. |
Hmpf. That did not work. Now the commits are empty. New try. |
9d218a5
to
b9040d2
Compare
Ok, that looks better ;) |
$git status |
b9040d2
to
c2d9b61
Compare
c2d9b61
to
1101f5e
Compare
They were already declared in wchar.h, but never implemented
only and conflicts with recent versions of bfd
Some packages (including gcc) fail to compile with error: invalid conversion from 'int (*)(const char*, const stat*, int)' to 'int (*)(const char*, stat*, int)'
1101f5e
to
5811dde
Compare
No description provided.