- 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>
997 lines
79 KiB
Plaintext
997 lines
79 KiB
Plaintext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
|
|
--config /home/ajet/repos/lazygitclj/bb.edn start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
|
|
--config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
|
|
[main (root-commit) f2be6fc] 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 1bf447c] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-stash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc 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
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (1) ══════════════╗ │ │
|
|
║ ?? new-file.txt ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (1) ══════════════╗ │ │
|
|
║ ?? new-file.txt ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Applied stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Applied stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Popped stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Popped stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Popped stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Popped stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ 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 → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ 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 → f2be6fc │ │ 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 ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (1) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ │ │
|
|
│ │ └──────────────────────────────────────────────────────────────┘
|
|
│ │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (1) ══════════════╗ │ │
|
|
║ ?? new-file.txt ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (2) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ 1 f2be6fc Initial comm... │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 2 Files (1) ══════════════╗ │ │
|
|
║ ?? new-file.txt ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 5 Stash (2) ──────────────┐ │ │
|
|
│ 0 f2be6fc Initial comm... │ └──────────────────────────────────────────────────────────────┘
|
|
│ 1 f2be6fc Initial comm... │ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:stage a:all c:commit p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (2) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ 1 f2be6fc Initial comm... ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (2) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ 1 f2be6fc Initial comm... ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Stashed all changes
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (2) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ 1 f2be6fc Initial comm... ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Dropped stash@{0}
|
|
┌─ 1 Status ─────────────────┐ ┌─ 0 Main ─────────────────────────────────────────────────────┐
|
|
│ main → f2be6fc │ │ diff --git a/file1.txt b/file1.txt │
|
|
└────────────────────────────┘ │ index a29bdeb..2a08f83 100644 │
|
|
┌─ 2 Files (1) ──────────────┐ │ --- a/file1.txt │
|
|
│ ?? new-file.txt │ │ +++ b/file1.txt │
|
|
│ │ │ @@ -1 +1,2 @@ │
|
|
│ │ │ line1 │
|
|
│ │ │ +modified │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 3 Branches [L] R T ───────┐ │ │
|
|
│ feature-branch │ │ │
|
|
│ * main │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
┌─ 4 Commits [C] R ──────────┐ │ │
|
|
│ f2be6fc Initial commit │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
│ │ │ │
|
|
└────────────────────────────┘ │ │
|
|
╔═ 5 Stash (1) ══════════════╗ │ │
|
|
║ 0 f2be6fc Initial comm... ║ └──────────────────────────────────────────────────────────────┘
|
|
║ ║ ┌─ Command Log ────────────────────────────────────────────────┐
|
|
║ ║ │ │
|
|
║ ║ │ │
|
|
╚════════════════════════════╝ └──────────────────────────────────────────────────────────────┘
|
|
q:quit ?:help h/l:panels j/k:nav spc:apply g:pop d:drop p/P:pull/push
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
|
|
--config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
|
|
[main (root-commit) f2be6fc] 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 1bf447c] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-stash
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-e2e-stash && cd /tmp/lazygitclj-e2e-stash && bb
|
|
--config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Initialized empty Git repository in /tmp/lazygitclj-e2e-stash/.git/
|
|
[main (root-commit) f2be6fc] 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 1bf447c] Add feature
|
|
1 file changed, 1 insertion(+)
|
|
create mode 100644 feature.txt
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-e2e-stash
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|