File: day_402__enhanced_smudge_clean_interface.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
file content (14 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Continued working on the enhancaed smudge/clean interface in git,
incorporating feedback from the git developers.

In a spare half an hour, I made an `improved-smudge-filters` branch
that teaches git-annex smudge to use the new interface. 

Doing a quick benchmark, `git checkout` of a deleted 1 gb file took:

* 19 seconds before
* 11 seconds with the new interface
* 0.1 seconds with the new interface and annex.thin set  
  (while also saving 1 gb of disk space!)

So, this new interface is very much worthwhile.