Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apathetic-tools/python-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: apathetic-tools/python-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 2 commits
  • 6 files changed
  • 2 contributors

Commits on Dec 6, 2025

  1. feat(paths): rename strip_common_prefix to shorten_path with multi-ba…

    …se support
    
    - Rename strip_common_prefix to shorten_path for better clarity
    - Add support for multiple bases (single base or list)
    - Return shortest path relative to any base's common prefix
    - Return absolute path when common prefix is only root (more useful than relative from root)
    - Remove redundant shorten_path function (old implementation)
    - Update all tests and documentation
    InertSloth committed Dec 6, 2025
    Configuration menu
    Copy the full SHA
    7cffe37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1c9e0e View commit details
    Browse the repository at this point in the history
Loading