File: day_407__lazy_sunday.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (9 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
Noticed that in one of my git-annex repositories, git-annex was spending
a full second at startup checking all the git-annex branches from remotes
to see if they contained changes that needed to be merged in. So, I added a
cache of recently merged branches to avoid that. I remember considering
this optimisation years ago; don't know why I didn't do it then. Not every
day that I can speed up git-annex so much!

Also, made `git annex log --all` show location log changes for all keys.
This was tricky to get right and fast.