Files
lazygitclj/test/e2e/output/branch-operations.ascii
Adam Jeniski 2657545018 Add VHS e2e tests and output recordings
Includes test tapes for navigation, branch operations, stash operations,
help panel, commits, and cursor navigation. Resolved stash conflicts by
keeping simpler test versions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 11:01:11 -05:00

1357 lines
36 KiB
Plaintext

>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch &&
bb --config /home/ajet/repos/lazygitclj/bb.edn start
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch &&
bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/
[main (root-commit) 5c50833] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 2564148] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-branch
Starting lazygitclj...
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > ile1.txt ║
║ ║
║ Unstaged: ║
║ ?? new-file.txt ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (0 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > file1.txt ║
║ A new-file.txt ║
║ ║
║ ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╔═ 2 Files (2) ═══╗
║ Staged: ║
║ M > file1.txt ║
║ A new-file.txt ║
║ ║
║ ║
╚═════════════════╝
╭─ 3 Local (2) ────╮
│ feature-branch │
│ * main │
╰──────────────────╯
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:stage/unstage a:all c:commit s:stash p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (2) ══════╗
║ > feature-branch ║
║ * main ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (2) ══════╗
║ > feature-branch ║
║ * main ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (2 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ new-branch ╮
│ > _ │
╰─────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ new-branch ╮
│ > _ │
╰─────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ new-branch ╮
│ > _ │
╰─────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj main (5c50833)
╭─ new-branch ───╮
│ > test-branch_ │
╰────────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ > main ║
║ * test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ > main ║
║ * test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ main ║
║ * > test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ main ║
║ * > test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ main ║
║ * > test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ main ║
║ * > test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ > main ║
║ * test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ════╗
║ feature-branch ║
║ > main ║
║ * test-branch ║
╚══════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Created branch test-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (5 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Remote (0) ╗
║ No remote ║
╚═══════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Remote (0) ╗
║ No remote ║
╚═══════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Tags (0) ╗
║ No tags ║
╚═════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Tags (0) ╗
║ No tags ║
╚═════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Remote (0) ╗
║ No remote ║
╚═══════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Remote (0) ╗
║ No remote ║
╚═══════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
lazygitclj test-branch (5c50833)
Deleted branch feature-branch
╭─ 2 Files (2) ───╮
│ Staged: │
│ M file1.txt │
│ A new-file.txt │
│ │
│ │
╰─────────────────╯
╔═ 3 Local (3) ══════╗
║ > feature-branch ║
║ main ║
║ * test-branch ║
╚════════════════════╝
╭─ 4 Commits (1) ────────────────────────╮
│ 5c50833 Initial commit (8 seconds ago) │
╰────────────────────────────────────────╯
╭─ 5 Stash (0) ╮
│ No stashes │
╰──────────────╯
q:quit ?:help h/l:switch space:checkout n:new [/]:tabs p:pull P:push
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch &&
bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/
[main (root-commit) 5c50833] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 2564148] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-branch
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-branch && cd /tmp/lazygitclj-e2e-branch &&
bb --config /home/ajet/repos/lazygitclj/bb.edn start
Initialized empty Git repository in /tmp/lazygitclj-e2e-branch/.git/
[main (root-commit) 5c50833] Initial commit
3 files changed, 3 insertions(+)
create mode 100644 README.md
create mode 100644 file1.txt
create mode 100644 file2.txt
Switched to a new branch 'feature-branch'
[feature-branch 2564148] Add feature
1 file changed, 1 insertion(+)
create mode 100644 feature.txt
Switched to branch 'main'
Test repo created at /tmp/lazygitclj-e2e-branch
Starting lazygitclj...
Goodbye!
>
────────────────────────────────────────────────────────────────────────────────