Merged
Conversation
Tests all preconditions (duplicate branch, no remotes, invalid name) and happy paths (default name, custom name, detached HEAD, untracked branch). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers: preconditions (non-git repo, detached HEAD, no upstream), empty branch, working changes (staged/unstaged/untracked/clean), single and multiple woven branches with graph symbols, stacked branches (│├─ ││ connectors), co-located branches, empty branch at upstream base, loose commits, upstream-tracking exclusion, remote indicators (✓ ↑ ✗), hidden branches (default/custom/empty pattern, --all), upstream ahead (⏫), context commits, -f files flag, and CWD-relative file path display. Adds helpers: commit_file_in (commit to arbitrary repo), describe (print test name as each case runs). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces # ── Test: comments with describe() calls so each test case name is printed as it runs, consistent with test_status.sh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There are now 2 docs: - https://narnaud.github.io/git-loom/ documentation of the current version - https://narnaud.github.io/git-loom/latest/ documentation of the current main They are updated automatically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test: add integration tests for gl init
Tests all preconditions (duplicate branch, no remotes, invalid name)
and happy paths (default name, custom name, detached HEAD, untracked branch).
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
chore(claude): add more permissions
test(status): comprehensive integration tests for gl status
Covers: preconditions (non-git repo, detached HEAD, no upstream),
empty branch, working changes (staged/unstaged/untracked/clean),
single and multiple woven branches with graph symbols, stacked
branches (│├─ ││ connectors), co-located branches, empty branch at
upstream base, loose commits, upstream-tracking exclusion, remote
indicators (✓ ↑ ✗), hidden branches (default/custom/empty pattern,
--all), upstream ahead (⏫), context commits, -f files flag, and
CWD-relative file path display.
Adds helpers: commit_file_in (commit to arbitrary repo), describe
(print test name as each case runs).
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
test: add describe calls to all integration test files
Replaces # ── Test: comments with describe() calls so each test case
name is printed as it runs, consistent with test_status.sh.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
docs: only update docs on release, have the main doc on /latest
There are now 2 docs:
version
current main
They are updated automatically.