Re: [RFC] Native access to Git LFS cache
flat view
From: Johannes Schindelin <hidden>
Date: 2016-06-28 09:40:47
Hi Duy, On Mon, 27 Jun 2016, Duy Nguyen wrote:
On Mon, Jun 27, 2016 at 7:38 AM, [off-list ref] wrote:quoted
## Proposed solution Git LFS caches its objects under .git/lfs/objects. Most of the time Git LFS objects are already available in the cache (e.g. if you switch branches back and forth). I implemented these "cache hits" natively in Git. Please note that this implementation is just a quick and dirty proof of concept. If the Git community agrees that this kind of approach would be acceptable then I will start to work on a proper patch series with cross platform support and unit tests.Would it be possible to move all this code to a separate daemon? Instead of spawning a new process to do the filtering, you send a command "convert this" over maybe unix socket and either receive the whole result over the socket, or receive a path of the result.
Unix sockets are not really portable... Ciao, Dscho