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: elixir-ai-tools/exgit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: elixir-ai-tools/exgit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/write-path-unborn-ref
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Jul 2, 2026

  1. fix: FS.write_path starts from the empty tree over an unborn ref

    Workspace.commit/2 already treats an unborn ref as parentless, but
    Workspace.write/3 failed {:error, :not_found} on the same base — so a
    workspace over a freshly initialized or cloned-empty repository could
    never stage its first file. Unborn detection is deliberately narrow: a
    ref NAME absent from the ref store. A raw SHA that fails to resolve
    stays an error, since in a lazy clone that is a fetch miss and an empty
    base there would silently drop every existing tree entry.
    
    Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01FpxHS5iGm9ktgpnL9QZu9x
    ivarvong and claude committed Jul 2, 2026
    Configuration menu
    Copy the full SHA
    42ae860 View commit details
    Browse the repository at this point in the history
Loading