Git Core Improvements and Contributions
Git 2.41 release - Here are five of our contributions in detail

Git 2.41 release - Here are five of our contributions in detail

6/20/2023 · John Cai

What this post added

This post details three specific contributions from GitLab's Git team to the Git 2.41 release: 1. The addition of a `--porcelain` option to `git-fetch` to provide machine-parseable output, enabling more efficient repository mirroring by allowing Gitaly to handle reference updates in a single transaction. 2. A new `--attr-source=<tree>` option for Git attributes, allowing Gitaly to read `.gitattributes` directly from a tree-ish without needing to copy them to `info/attributes`, simplifying internal RPCs and improving performance. 3. A bug fix for a regression in commit-graph generation numbers that corrupted the commit-graph for specific repositories.

Read the original post ↗