Skip to content

v0.0.44 - Commit Mode & Remote Handling

Compare
Choose a tag to compare
@bayuagpr bayuagpr released this 15 Nov 08:33
· 7 commits to master since this release

🎯 Highlights

  • Commit Mode: New dedicated mode for comparing commit hashes with proper three-dot diff syntax
  • Remote Handling: Automatic fetching of remote changes before diff generation
  • Enhanced CLI: Better visual output with file tree and version branding
  • Smart Reference Detection: Auto-detection of commit hashes vs branch names

🔍 Details

Commit Mode & Remote Handling

  • Added smart detection of commit hashes vs branch references
  • Implemented proper three-dot vs two-dot diff syntax based on mode
  • Auto-fetches remote changes when comparing remote branches

Remote Utilities

  • New utilities for remote branch detection and fetching
  • Handles both explicit remote refs (origin/main) and local tracking branches

CLI Improvements

  • Added version display and yarn-style branding
  • Better command examples including commit hash comparisons
  • Visual file tree output showing generated files

🔧 Technical Changes

  • Changed diff range syntax for commit mode: start...end (three dots)
  • Added remote change fetching before diff generation
  • Added mode detection based on reference format
  • Improved console output with structured file tree
  • Added version branding and CLI examples

📦 Dependencies

No dependency changes in this release.