You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
- Hundreds of commits in repository
- Each commit has git note attached
- Each git note has size from hundreds of bytes to a couple of KB and never exceeds size limit.
- "Block all large files" feature in Control Freak is on. Size limit is set to 1 MB.
At some point we noticed that pushing new git notes with
git notes --ref my_notes_ref add -f -F <note_json_path> <commit_hash>
git push origin my_notes_ref
started taking too much time (30 seconds to two minutes).
After investigating the cause, it turned out that Control Freak hook is taking all the time.
Disabling "Block all large files" feature decreased push time to 1-2 seconds.
Changing Size limit did not affect push time.
It seems like hook may try to traverse all commits available in repo to analyze file size during git notes push.
Is there a chance that the issue is fixed in future releases?