git_operations: simplify metadata-fetch options and reuse test helper

main

Commit

Soph3mo ago

Cleanups from /simplify review (no behavior change):

  • Collapse fetchMetadataOpts to a single noFilter bool. After dropping the Shallow field, the struct held only NoFilter plus a dead Unshallow field (never set true by any caller); the two named wrappers FetchMetadataBranch / FetchMetadataTreeOnly document intent at the only two call sites.
  • Reuse the existing gitOutput test helper instead of the duplicate gitOut, and drop the thin gitRevParse wrapper.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 9bf304d541d6

Checkpoints

so in ../entiredb "filtered_fetches" is enabled, now today one of my coworkers had this issue:

Claude Code
View session
Checkpoint 1