From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: [PATCH v2 08/19] ebuild-maintenance: rewrite the text on adding binary files to the tree #558642
Date: Sun, 24 Jan 2016 15:29:09 +0000 (UTC) [thread overview]
Message-ID: <pan$1e268$4211fa56$3bfbf1d3$4f88c9ba@cox.net> (raw)
In-Reply-To: 20160124150031.GH6302@ultrachro.me
Patrice Clement posted on Sun, 24 Jan 2016 16:00:31 +0100 as excerpted:
> "Again you should not compress these patches because git does not play
> well binary files".
>
> I'm not sure this statement still holds true with git. Does it?
It does.
Git is designed to be extremely efficient at distributed source version
control, and works best with text-based sources which it can treat
"intelligently". Not only does it do its own text compression in the pak
files, it's relatively dumb in terms of binary differences, being able to
tell a binary file changed, but effectively considering it a single file
level change while with text it does line-level tracking.
By compressing a patch or doing a tarball, you're effectively turning it
into a single blob in terms of tracking, while as the uncompressed text-
based patch-files, git can not only track the individual files, but
individual lines within them. While with patch-files losing the
individual line tracking isn't generally a huge loss (the patches tend to
be replaced as a whole, without line-level changes within a single
patch), losing the per-component-patch file tracking is.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2016-01-24 15:29 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-24 8:45 [gentoo-dev] [PATCH v2 00/19] devmanual: update the docs for post git-migration Gokturk Yuksek
2016-01-24 8:45 ` [gentoo-dev] [PATCH v2 01/19] general-concepts/manifest: drop the use of "CVS keyword expansion" #558642 Gokturk Yuksek
2016-01-24 8:45 ` [gentoo-dev] [PATCH v2 02/19] general-concepts/mirrors: substitute "CVS" with "the git tree" #558642 Gokturk Yuksek
2016-01-24 8:45 ` [gentoo-dev] [PATCH v2 03/19] general-concepts/tree: substitute "CVS" with "git" #558642 Gokturk Yuksek
2016-01-24 8:45 ` [gentoo-dev] [PATCH v2 04/19] general-concepts/tree: replace the mention of ChangeLog #558642 Gokturk Yuksek
2016-01-24 8:45 ` [gentoo-dev] [PATCH v2 05/19] ebuild-writing/misc-files: replace the code for cvs commit with git #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 06/19] ebuild-writing/user-submitted: do not put user information in ChangeLog #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 07/19] appendices/editor-configuration/emacs: remove the CVS related setting #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 08/19] ebuild-maintenance: rewrite the text on adding binary files to the tree #558642 Gokturk Yuksek
2016-01-24 15:00 ` Patrice Clement
2016-01-24 15:29 ` Duncan [this message]
2016-01-24 15:44 ` Andrew Savchenko
2016-01-24 23:44 ` Göktürk Yüksek
2016-01-25 0:51 ` Brian Dolbec
2016-01-24 16:38 ` Göktürk Yüksek
2016-01-24 17:17 ` James Le Cuirot
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 09/19] ebuild-maintenance: rewrite the subsection on commit policy for git #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 10/19] ebuild-maintenance: rewrite the subsection on upgrading ebuilds " Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 11/19] ebuild-maintenance: rewrite the subsection on moving " Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 12/19] ebuild-maintenance: rewrite the subsection on removing " Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 13/19] ebuild-maintenance: rewrite the subsection on removing packages " Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 14/19] ebuild-maintenance: replace "cvs commit" with "git commit" #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 15/19] general-concepts/git-to-rsync/diagram: update the description for git #558642 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 16/19] " Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 17/19] ebuild-writing/misc-files: remove ChangeLog section #485314 Gokturk Yuksek
2016-01-25 0:43 ` [gentoo-dev] " Ulrich Mueller
2016-01-25 1:02 ` Göktürk Yüksek
2016-01-25 1:13 ` Michael Orlitzky
2016-01-25 8:17 ` Ulrich Mueller
2016-01-27 4:19 ` Göktürk Yüksek
2016-01-27 7:12 ` Ulrich Mueller
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 18/19] tools-reference: remove the echangelog page #485314 Gokturk Yuksek
2016-01-24 8:46 ` [gentoo-dev] [PATCH v2 19/19] general-concepts/tree: remove the reference to the ChangeLog #485314 Gokturk Yuksek
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='pan$1e268$4211fa56$3bfbf1d3$4f88c9ba@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=gentoo-dev@lists.gentoo.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