From: "Torgil Svensson" <torgil.svensson@gmail.com>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "Git Mailing List" <git@vger.kernel.org>,
msysGit <msysgit@googlegroups.com>
Subject: Re: file disappears after git rebase (missing one commit)
Date: Sat, 18 Aug 2007 22:29:52 +0200 [thread overview]
Message-ID: <e7bda7770708181329i7a64e613y88187a608c323a07@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.999.0708181247330.30176@woody.linux-foundation.org>
On 8/18/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> The reason, I think, is that I suspect that the newly added file is a
> binary file, no?
Yes, that's correct.
> That, in turn, will mean that the *patch* will have no
> patch ID (or rather, it will have an empty patch ID) - which in turn will
> make it invisible to "--ignore-if-in-upstream" if there are already some
> *other* patches that also just adds a binary file (which I think there is:
> I think upstream has "Add disk summarize tool (du.exe)" which I assume has
> exactly the same patch fingerprint).
The "du.exe" is only in the devel branch but there is five other
patches that meets your criteria.
> In other words, "git rebase" really is just a series of cherry-picks, but
> it avoids patches that have the same patch ID as something that is already
> upstream. That helps *enormously*, but it so happens that the patch ID's
> don't work really well for binary diffs.
Git cherry-pick seems to work on that particular patch:
$ git cherry-pick b11cf4ce6262a7c3b243e3cfdc70e6b44682cb59
Finished one cherry-pick.
Created commit 92a58d3: Added msmtp.exe SMTP client
1 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 bin/msmtp.exe
> Try this patch - see if it helps. Totally untested! It will enable patch
> ID's on binary diffs too, which should avoid this issue.
That didn't help. Same symptom.
//Torgil
next prev parent reply other threads:[~2007-08-18 20:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-18 19:37 file disappears after git rebase (missing one commit) Torgil Svensson
2007-08-18 20:01 ` Linus Torvalds
2007-08-18 20:29 ` Torgil Svensson [this message]
2007-08-18 20:55 ` Linus Torvalds
2007-08-18 21:11 ` Torgil Svensson
2007-08-18 22:52 ` Take binary diffs into account for "git rebase" Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7bda7770708181329i7a64e613y88187a608c323a07@mail.gmail.com \
--to=torgil.svensson@gmail.com \
--cc=git@vger.kernel.org \
--cc=msysgit@googlegroups.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).