- Remove nested test/e2e/test/ directory (bad debug data) - Fix run-all.sh to run VHS from repo root, preventing nested output - Fix cursor-navigation.tape to use setup script instead of inline shell - Add setup-cursor-test.sh for cursor navigation tests - Regenerate all test outputs without FileNotFoundException errors - Add debug tape/output files to .gitignore - Remove debug.tape from test suite (for local debugging only) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1027 lines
84 KiB
Plaintext
1027 lines
84 KiB
Plaintext
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit &&
|
|
bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit &&
|
|
bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-commit/.git/
|
|
[main (root-commit) 9e5376d] 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 53805db] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-commit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ ?? new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ ╭─ Commit Message ───────────────────────────────╮ │
|
|
└─────────────────────│ █ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ ╭─ Commit Message ───────────────────────────────╮ │
|
|
└─────────────────────│ █ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ ╭─ Commit Message ───────────────────────────────╮ │
|
|
└─────────────────────│ █ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 9e5376d │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
╔═ 2 Files (2) ══════════════╗ │ --- a/file1.txt │
|
|
║ M file1.txt ║ │ +++ b/file1.txt │
|
|
║ A new-file.txt ║ │ @@ -1 +1,2 @@ │
|
|
║ ║ │ line1 │
|
|
║ ║ │ +modified │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ ╭─ Commit Message ───────────────────────────────╮ │
|
|
└─────────────────────│ Test commit message█ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 7b25410 Test commit me... │ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 7b25410 Test commit me... │ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 7b25410647d4fdbadfd3b04077218afee9631fd3 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:54 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Test commit message │
|
|
│ │ │ --- │
|
|
│ │ │ file1.txt | 1 + │
|
|
└────────────────────────────┘ │ new-file.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ 2 files changed, 2 insertions(+) │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ diff --git a/file1.txt b/file1.txt │
|
|
│ │ │ index a29bdeb..2a08f83 100644 │
|
|
│ │ │ --- a/file1.txt │
|
|
└────────────────────────────┘ │ +++ b/file1.txt │
|
|
╔═ 4 Commits [C] R ══════════╗ │ @@ -1 +1,2 @@ │
|
|
║ 7b25410 Test commit me... ║ │ line1 │
|
|
║ 9e5376d Initial commit ║ │ +modified │
|
|
║ ║ │ diff --git a/new-file.txt b/new-file.txt │
|
|
║ ║ │ new file mode 100644 │
|
|
╚════════════════════════════╝ │ index 0000000..fa49b07 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ --- /dev/null │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 7b25410647d4fdbadfd3b04077218afee9631fd3 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:54 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Test commit message │
|
|
│ │ │ --- │
|
|
│ │ │ file1.txt | 1 + │
|
|
└────────────────────────────┘ │ new-file.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ 2 files changed, 2 insertions(+) │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ diff --git a/file1.txt b/file1.txt │
|
|
│ │ │ index a29bdeb..2a08f83 100644 │
|
|
│ │ │ --- a/file1.txt │
|
|
└────────────────────────────┘ │ +++ b/file1.txt │
|
|
╔═ 4 Commits [C] R ══════════╗ │ @@ -1 +1,2 @@ │
|
|
║ 7b25410 Test commit me... ║ │ line1 │
|
|
║ 9e5376d Initial commit ║ │ +modified │
|
|
║ ║ │ diff --git a/new-file.txt b/new-file.txt │
|
|
║ ║ │ new file mode 100644 │
|
|
╚════════════════════════════╝ │ index 0000000..fa49b07 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ --- /dev/null │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 9e5376dd30d69d448c68ff8255c1bfe80a205831 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:49 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Initial commit │
|
|
│ │ │ --- │
|
|
│ │ │ README.md | 1 + │
|
|
└────────────────────────────┘ │ file1.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
|
|
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
|
|
│ * main │ │ │
|
|
│ │ │ diff --git a/README.md b/README.md │
|
|
│ │ │ new file mode 100644 │
|
|
└────────────────────────────┘ │ index 0000000..181e1c3 │
|
|
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
|
|
║ 7b25410 Test commit me... ║ │ +++ b/README.md │
|
|
║ 9e5376d Initial commit ║ │ @@ -0,0 +1 @@ │
|
|
║ ║ │ +# Test Project │
|
|
║ ║ │ diff --git a/file1.txt b/file1.txt │
|
|
╚════════════════════════════╝ │ new file mode 100644 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 9e5376dd30d69d448c68ff8255c1bfe80a205831 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:49 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Initial commit │
|
|
│ │ │ --- │
|
|
│ │ │ README.md | 1 + │
|
|
└────────────────────────────┘ │ file1.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
|
|
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
|
|
│ * main │ │ │
|
|
│ │ │ diff --git a/README.md b/README.md │
|
|
│ │ │ new file mode 100644 │
|
|
└────────────────────────────┘ │ index 0000000..181e1c3 │
|
|
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
|
|
║ 7b25410 Test commit me... ║ │ +++ b/README.md │
|
|
║ 9e5376d Initial commit ║ │ @@ -0,0 +1 @@ │
|
|
║ ║ │ +# Test Project │
|
|
║ ║ │ diff --git a/file1.txt b/file1.txt │
|
|
╚════════════════════════════╝ │ new file mode 100644 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 9e5376dd30d69d448c68ff8255c1bfe80a205831 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:49 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Initial commit │
|
|
│ │ │ --- │
|
|
│ │ │ README.md | 1 + │
|
|
└────────────────────────────┘ │ file1.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
|
|
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
|
|
│ * main │ │ │
|
|
│ │ │ diff --git a/README.md b/README.md │
|
|
│ │ │ new file mode 100644 │
|
|
└────────────────────────────┘ │ index 0000000..181e1c3 │
|
|
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
|
|
║ 7b25410 Test commit me... ║ │ +++ b/README.md │
|
|
║ 9e5376d Initial commit ║ │ @@ -0,0 +1 @@ │
|
|
║ ║ │ +# Test Project │
|
|
║ ║ │ diff --git a/file1.txt b/file1.txt │
|
|
╚════════════════════════════╝ │ new file mode 100644 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Committed!
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ commit 9e5376dd30d69d448c68ff8255c1bfe80a205831 │
|
|
└────────────────────────────┘ │ Author: Test User <test@example.com> │
|
|
┌─ 2 Files (0) ──────────────┐ │ Date: Thu Jan 22 12:16:49 2026 -0500 │
|
|
│ No changes │ │ │
|
|
│ │ │ Initial commit │
|
|
│ │ │ --- │
|
|
│ │ │ README.md | 1 + │
|
|
└────────────────────────────┘ │ file1.txt | 1 + │
|
|
┌─ 3 Branches [L] R T ───────┐ │ file2.txt | 1 + │
|
|
│ feature-branch │ │ 3 files changed, 3 insertions(+) │
|
|
│ * main │ │ │
|
|
│ │ │ diff --git a/README.md b/README.md │
|
|
│ │ │ new file mode 100644 │
|
|
└────────────────────────────┘ │ index 0000000..181e1c3 │
|
|
╔═ 4 Commits [C] R ══════════╗ │ --- /dev/null │
|
|
║ 7b25410 Test commit me... ║ │ +++ b/README.md │
|
|
║ 9e5376d Initial commit ║ │ @@ -0,0 +1 @@ │
|
|
║ ║ │ +# Test Project │
|
|
║ ║ │ diff --git a/file1.txt b/file1.txt │
|
|
╚════════════════════════════╝ │ new file mode 100644 │
|
|
┌─ 5 Stash (0) ──────────────┐ │ index 0000000..a29bdeb │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs spc:checkout p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ file1.txt | 1 + │
|
|
└────────────────────────────┘ │ new-file.txt | 1 + │
|
|
┌─ 2 Files (4) ──────────────┐ │ 2 files changed, 2 insertions(+) │
|
|
│ D README.md │ │ │
|
|
│ UD file1.txt │ │ │
|
|
│ D file2.txt │ │ │
|
|
│ UD file1.txt │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 3 Branches [L] R T ═══════╗ │ │
|
|
║ feature-branch ║ │ │
|
|
║ * main ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 7b25410 Test commit me... │ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Checked out feature-branch
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ file1.txt | 1 + │
|
|
└────────────────────────────┘ │ new-file.txt | 1 + │
|
|
┌─ 2 Files (4) ──────────────┐ │ 2 files changed, 2 insertions(+) │
|
|
│ D README.md │ │ │
|
|
│ UD file1.txt │ │ │
|
|
│ D file2.txt │ │ │
|
|
│ UD file1.txt │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 3 Branches [L] R T ═══════╗ │ │
|
|
║ feature-branch ║ │ │
|
|
║ * main ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 7b25410 Test commit me... │ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Checked out feature-branch
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 7b25410 │ │ file1.txt | 1 + │
|
|
└────────────────────────────┘ │ new-file.txt | 1 + │
|
|
┌─ 2 Files (4) ──────────────┐ │ 2 files changed, 2 insertions(+) │
|
|
│ D README.md │ │ │
|
|
│ UD file1.txt │ │ │
|
|
│ D file2.txt │ │ │
|
|
│ UD file1.txt │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 3 Branches [L] R T ═══════╗ │ │
|
|
║ feature-branch ║ │ │
|
|
║ * main ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 7b25410 Test commit me... │ │ │
|
|
│ 9e5376d Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (0) ──────────────┐ │ │
|
|
│ No stashes │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav []:tabs n:new d:del p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit &&
|
|
bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-commit/.git/
|
|
[main (root-commit) 9e5376d] 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 53805db] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-commit
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-commit && cd /tmp/lazygitclj-e2e-commit &&
|
|
bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-commit/.git/
|
|
[main (root-commit) 9e5376d] 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 53805db] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-commit
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|