git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Please consider extending .gitignore to support setting of a file size limit

From
Philip Oakley <philipoakley@iee.org>
Date
May 8, 2015, 21:55 UTC
Message-ID
<682DB2BD13D143CEB606BF9C8E4E55D5@PhilipOakley>
In-Reply-To
<20150508065459.GB31516@vps892.directvps.nl>
From: "Kevin Daudt" <me@ikke.info>
Show 14 quoted lines
> On Thu, May 07, 2015 at 02:31:12PM -0700, Junio C Hamano wrote:
>> Roger Mendes <sproger1@gmail.com> writes:
>>
>> Having said all that, why is it that you do not want to track
>> certain files that happen to be large?  Don't the existing large
>> file support facility work for you (or perhaps you are not using
>> them)?  It might be that your time is better spent on improving
>> that, instead of working around the issue, no?
>>
>
> My experience in #git is that people want to prevent other people
> accidentelly adding large files, resulting in all sorts of problems,
> which takes a lot of effort to fix if you're not an experienced user.
> --
I'd also support this option.

One issue is to locate a suitable method/character code for the 'magic pathspec' that would define a size limit that can be used for the 'git add .' etc., and possibly also for sparse checkout (definitely an area where a size limit may be appropriate for some users).

The ability to extend the ignore method could also, in the future be used for a possible narrow clone (when desired). -- Philip

Previous: Stefan Beller
Message 7 of 7 in “Please consider extending .gitignore to support setting of a file size limit”
  1. Roger MendesMay 7, 2015
  2. Junio C HamanoMay 7, 2015
  3. Thomas KochMay 8, 2015
  4. Kevin DaudtMay 8, 2015
  5. Fredrik GustafssonMay 8, 2015
  6. Stefan BellerMay 8, 2015
  7. Philip OakleyMay 8, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.