v.22.1Improvement

Enhance system.build_options with Current Git Revision Info

Add more info to system.build_options about current git revision. #33431 (taiyang-li).
Enhanced the system.build_options table to include detailed information about the current Git revision used to build ClickHouse.

Why it matters

This feature provides users with precise build metadata, including the exact Git commit, enabling better traceability and debugging by linking running ClickHouse instances to their source code version.

How to use it

Query the system.build_options table with a statement such as SELECT * FROM system.build_options to view the enriched Git revision details.