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

Re: Pre-Process Files for Commits and Pulls

From
Junio C Hamano <gitster@pobox.com>
Date
May 11, 2016, 21:38 UTC
Message-ID
<xmqq37pojmx3.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CALo8eZyX+vPMxVzeQgrhn0G+x44myvPot-EqC=DACEo3OwDwQA@mail.gmail.com>
Brandon Teska <brandon.teska@gmail.com> writes:
Show 5 quoted lines
> 1. Person A works on (binary) file locally
> 2. Person A commits and pushes to the repo
> 3. Before the push, a script deconstructs the binary file into several
> text files
> 4. Those text files are pushed

A smudge/clean filter pair is how this is done, but you need to drop "several text files" from the requirement.

Previous: Brandon Teska
Message 2 of 2 in “Pre-Process Files for Commits and Pulls”
  1. Brandon TeskaMay 11, 2016
  2. Junio C HamanoMay 11, 2016

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.