- 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>
907 lines
69 KiB
Plaintext
907 lines
69 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) 157e8d1] 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 ab91e0c] 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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → 157e8d1 │ │ 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 ──────────┐ │ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ──────────┐ │ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ──────────┐ │ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ───╰────────────────────────────────────────────────╯ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ───╰────────────────────────────────────────────────╯ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ───╰────────────────────────────────────────────────╯ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ───────────────────────────────╮ │
|
|
└─────────────────────│ Add test changes█ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 157e8d1 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 → 157e8d1 │ │ 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 ───────────────────────────────╮ │
|
|
└─────────────────────│ Add test changes█ │ │
|
|
┌─ 4 Commits [C] R ───╰────────────────────────────────────────────────╯ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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 → 322f674 │ │ Select an item to view diff │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (0) ══════════════╗ │ │
|
|
║ No changes ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ 322f674 Add test chang... │ │ │
|
|
│ 157e8d1 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
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./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) 157e8d1] 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 ab91e0c] 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) 157e8d1] 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 ab91e0c] 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!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|