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>
637 lines
12 KiB
Plaintext
637 lines
12 KiB
Plaintext
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Starting lazygitclj...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
lazygitclj main (dd04b48)
|
|
|
|
|
|
|
|
╔═ 1 Files (3) ═╗
|
|
║ Staged: ║
|
|
║ M > file2.txt ║
|
|
║ ║
|
|
║ Unstaged: ║
|
|
║ M file1.txt ║
|
|
║ ?? newfile.txt ║
|
|
╚════════════════╝
|
|
╭─ 2 [Commits] | Reflog (1) ────────────╮
|
|
│ dd04b48 Initial commit (9 seconds ago) │
|
|
╰────────────────────────────────────────╯
|
|
╭─ 3 [Local] | Remotes | Tags (2) ╮
|
|
│ feature-branch │
|
|
│ * main │
|
|
╰─────────────────────────────────╯
|
|
╭─ 4 Stash (0) ╮
|
|
│ No stashes │
|
|
╰──────────────╯
|
|
|
|
q:quit ?:help D:reset spc:stage a:all c:commit d:discard s/S:stash p/P:pull/push
|
|
|
|
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
> ./test/e2e/setup-test-repo.sh /tmp/lazygitclj-debug
|
|
Initialized empty Git repository in /tmp/lazygitclj-debug/.git/
|
|
[main (root-commit) dd04b48] 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 18fb092] Feature work
|
|
1 file changed, 1 insertion(+)
|
|
Switched to branch 'main'
|
|
Test repo created at /tmp/lazygitclj-debug
|
|
- main branch with 1 commit
|
|
- feature-branch with 1 extra commit
|
|
- 1 staged file (file2.txt)
|
|
- 1 unstaged file (file1.txt)
|
|
- 1 untracked file (newfile.txt)
|
|
> cd /tmp/lazygitclj-debug && git status --porcelain
|
|
M file1.txt
|
|
M file2.txt
|
|
?? newfile.txt
|
|
> bb --config /home/ajet/repos/lazygitclj/bb.edn start
|
|
Starting lazygitclj...
|
|
|
|
Goodbye!
|
|
>
|
|
|
|
|
|
|
|
────────────────────────────────────────────────────────────────────────────────
|