From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.4 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 9A2102047F for ; Mon, 24 Jul 2017 04:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751781AbdGXEXV (ORCPT ); Mon, 24 Jul 2017 00:23:21 -0400 Received: from lang.hm ([66.167.227.134]:51277 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751563AbdGXEXU (ORCPT ); Mon, 24 Jul 2017 00:23:20 -0400 Received: from dlang-laptop ([10.2.0.162]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id v6O4D22W023383; Sun, 23 Jul 2017 21:13:02 -0700 Date: Sun, 23 Jul 2017 21:13:02 -0700 (PDT) From: David Lang X-X-Sender: dlang@dlang-laptop To: Farshid Zavareh cc: Andrew Ardill , "git@vger.kernel.org" Subject: Re: Should I store large text files on Git LFS? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.1 (DEB 209 2017-03-23) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Mon, 24 Jul 2017, Farshid Zavareh wrote: > I'll probably test this myself, but would modifying and committing a 4GB text > file actually add 4GB to the repository's size? I anticipate that it won't, > since Git keeps track of the changes only, instead of storing a copy of the > whole file (whereas this is not the case with binary files, hence the need for > LFS). well, it wouldn't be 4G because text compresses well, but if the file changes drastically from version to version (say a quarterly report), the diff won't help. David Lang