Skip to content

v1.3.0

Compare
Choose a tag to compare
@andrewmcwatters andrewmcwatters released this 11 Aug 20:38
· 48 commits to main since this release

Added

  • Backward compatibility for manifest format: Automatic migration from legacy repo key to new repository key in .git-remote-files manifest
  • Documentation improvements: Updated README.md with corrected manifest format examples and improved feature descriptions
  • Git-consistent options: Added --detach option for commit tracking (consistent with git checkout --detach), while maintaining --commit for backward compatibility

Changed

  • BREAKING: Manifest format standardization: The .git-remote-files manifest now uses repository as the key instead of repo for consistency. Old files are automatically migrated when read
  • Commit hash storage: The manifest now always stores actual commit hashes in the commit field, never symbolic references like "HEAD" or branch names
  • Dry-run accuracy: Dry-run mode now resolves commit references to actual commit hashes before displaying output, providing accurate information about what would be stored
  • CLI argument consistency: Updated help text and all user-facing output to use <repository> instead of <repo> for consistency

Fixed

  • Commit reference resolution: Fixed inconsistency where commit_ref could be "HEAD" in display logic, which didn't align with the requirement that manifests always store resolved commit hashes
  • Display consistency: Eliminated confusing "HEAD" symbolic references from manifest format and user-facing output
  • Jobs parallelism documentation: Corrected help text from "default: 4" to "default: auto" to accurately reflect the CPU-based auto-detection behavior
  • README.md accuracy: Fixed output message casing and manifest format examples to match actual tool behavior

Improved

  • Code organization: Added resolve_commit_ref() helper function to centralize commit resolution logic and eliminate code duplication
  • User experience: All user-facing code, variables, and help text now consistently use "repository" instead of "repo" for clarity
  • Documentation completeness: Enhanced README.md with backward compatibility notes, corrected examples, and comprehensive feature descriptions
  • Migration transparency: Added clear notes about v1.3.0 manifest format changes with full backward compatibility assurance
  • Git consistency: Improved option naming with --detach (matching git's terminology) while preserving --commit for compatibility

Full Changelog: v1.2.2...v1.3.0