git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to prevent Git from compressing certain files?
@ 2009-07-22 19:49 Dirk Süsserott
  2009-07-22 20:44 ` Jakub Narebski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dirk Süsserott @ 2009-07-22 19:49 UTC (permalink / raw)
  To: Git Mailing List

Hi,

I'm (ab)using Git to store my media files, i.e. digicam pictures (*.jpg)
and the like. This way I can e.g. comment a series of pictures without
installing and learning a special purpose "Photo Archiving" tool. Gitk
shows the roadmap!

Somewhere I read that Git isn't supposed to efficiently handle binary
files. Of course, I don't want to merge my files, just store them with
their history and git-push them to some "safe place".

I figured that pushing and git gc'ing both try to compress those files
(or differences) really hard. Works great for "regular" files, but is
pointless with jpegs.

Question: Is there a way to prevent Git from trying to compress certain
files based on their extension?

-- Dirk

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-23 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 19:49 How to prevent Git from compressing certain files? Dirk Süsserott
2009-07-22 20:44 ` Jakub Narebski
2009-07-22 20:46 ` Jakub Narebski
2009-07-23 10:12 ` Jeff King
2009-07-23 18:51   ` Dirk Süsserott

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).