From: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: git@vger.kernel.org
Subject: Re: Commit/merge messages for binary files
Date: Fri, 18 Feb 2011 22:42:42 +0100 [thread overview]
Message-ID: <4D5EE7D2.5060703@gmail.com> (raw)
In-Reply-To: <vpqwrkx9h2z.fsf@bauges.imag.fr>
W dniu 18.02.2011 22:19, Matthieu Moy pisze:
> Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
>
>> W dniu 18.02.2011 14:53, Matthieu Moy pisze:
>>> Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
>>>
>>>> Hi,
>>>>
>>>> there's a different output when committing change and when merging
>>>> change for a binary file.
>>>> Do the insertions/deletions have any meaning for binary files?
>>>
>>> No. They're inserted/deleted *lines*, and that wouldn't make sense for
>>> binary files.
>>
>> So it's a bug?
>
> I don't see any bug. There were no insertion/deletion in text files,
> hence you see 0 for both.
Maybe I wasn't clear. Both the commit and the merge was for the same binary
file.
In case of commit there were non-zero insertions/deletions.
See example below - notice both update binary file blob.o:
$ git commit -m Updated
[topic 5da30ce] Updated
1 files changed, 8 insertions(+), 103 deletions(-)
rewrite blob.o (100%)
$ git merge topic
Updating 75ab259..5da30ce
Fast-forward
blob.o | Bin 25920 -> 4364 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
Hope that helps,
--
Piotr Krukowiecki
next prev parent reply other threads:[~2011-02-18 21:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 20:40 Commit/merge messages for binary files Piotr Krukowiecki
2011-02-18 13:53 ` Matthieu Moy
2011-02-18 20:30 ` Piotr Krukowiecki
2011-02-18 21:19 ` Matthieu Moy
2011-02-18 21:42 ` Piotr Krukowiecki [this message]
2011-02-19 7:06 ` Jeff King
2011-02-19 8:03 ` Jeff King
2011-02-19 8:04 ` [PATCH 1/2] diff: handle diffstat of rewritten " Jeff King
2011-02-19 8:16 ` [PATCH 2/2] diff: don't retrieve binary blobs for diffstat Jeff King
2011-02-21 23:33 ` Junio C Hamano
2011-02-22 15:37 ` Jeff King
2011-02-22 19:00 ` Junio C Hamano
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=4D5EE7D2.5060703@gmail.com \
--to=piotr.krukowiecki@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.