From: Phil Lawrence <prlawrence@gmail.com>
To: git <git@vger.kernel.org>
Subject: interactive rebase of binary files?
Date: Fri, 31 Jul 2009 22:58:58 -0500 [thread overview]
Message-ID: <530ac78e0907312058i1fbc3685qad060d5c01f5b8ac@mail.gmail.com> (raw)
With the help of some friends, I now have an understanding of how to
tease interleaved commits out of a branch (dev, branched from master),
into two new branches (foo and bar, branched from dev):
git checkout dev
git checkout -b foo
git rebase -i master #rebase everything SINCE master
etc., repeat for bar...
However, there is a problem with binary files. For example, if I
specify "edit" in the git-rebase-todo list for one of the binary file
commits, only one version of the binary file is presented to me in the
working copy. If it were a text file, I'd expect to see the standard
conflict stuff within the one file. I'd edit and save that one file.
However, in the case of binary files, should I not see binary_file.a
and binary_file.b both in the working copy, so that I can compare and
pick a winner (or edit one of them into a winner)?
More likely, my expectations are due to my ignorance, and someone can
point me to the "git" way of doing this. Please?
Phil Lawrence
next reply other threads:[~2009-08-01 3:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-01 3:58 Phil Lawrence [this message]
2009-08-01 5:15 ` interactive rebase of binary files? Jeff King
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=530ac78e0907312058i1fbc3685qad060d5c01f5b8ac@mail.gmail.com \
--to=prlawrence@gmail.com \
--cc=git@vger.kernel.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).