1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-03 00:57:52 +02:00
Commit Graph

704 Commits

Author SHA1 Message Date
50b0d85cd3 integration tests for commit without pre-commit hooks in staging files menu 2022-12-01 09:12:18 +11:00
bfcbf228bf commit integrations test with window name's assertion 2022-12-01 09:12:18 +11:00
87e0f6b92d integration tests for commit in staged files and unstaged files menus 2022-12-01 09:12:18 +11:00
b3d086bdc1 Resolve the prompt just before using it
In case a later command depends on a prompt input from a previous one we
need to evaluate it only after the previous prompt has been confirmed.
2022-11-25 22:46:36 +01:00
245563bc99 (#2288) quote remoteName before compiling regex
If the remote name contains special regex-chars,
the compilation of the regex might fail.
Quoting the remoteName ensures that all special chars
in the remoteName are properly escaped before compiling
the regex.
2022-11-24 12:56:28 +00:00
52a2e4c1dc fix: fix ambiguous branch name
test: add an integration test for checkout branch by name

fix: fix full ref name of detached head

refactor: refactor current branch loader

chore: use field name explicitly
2022-11-14 19:05:07 +11:00
b33ec5a050 Merge pull request #1980 from ajhynes7/stash-untracked-changes 2022-11-14 18:46:53 +11:00
fbac05fff7 Update README.md 2022-11-13 11:54:37 +11:00
9e91aa8b43 fix: delete duplicate import 2022-11-12 18:11:34 -03:30
7977c2deb5 fix: delete duplicate line 2022-11-12 18:10:34 -03:30
d7fb441a3c refactor: sort list of integration tests 2022-11-12 18:09:55 -03:30
f98b2edae5 fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this

WIP
2022-11-12 18:09:15 -03:30
97ced9e14f fix could-not-access error 2022-11-12 18:09:15 -03:30
66a253916e test: add more assertions 2022-11-12 18:09:15 -03:30
52316e628e fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this

WIP
2022-11-12 10:53:12 +11:00
e8b97c9fe2 fix could-not-access error 2022-11-11 12:30:14 +11:00
a47e72892a Merge branch 'master' into stash-untracked-changes 2022-11-01 16:08:34 -02:30
2ec0b671e6 test: update stash/rename integration test 2022-10-16 16:26:17 +09:00
e78e829e3a test: add an integration test for rename stash 2022-10-16 09:30:03 +09:00
39e84e13f4 Use lazycore utils: Clamp and GetLazyRootDirectory 2022-10-15 13:55:44 -03:00
fc0b14edef Update README.md 2022-10-11 08:40:35 -07:00
8c46a0110d Merge branch 'master' into stash-untracked-changes 2022-10-06 22:59:06 -02:30
a30d924afe test: add test for stash including untracked files 2022-10-06 22:53:13 -02:30
f4c188fa5b fix(test): add stash name 2022-10-06 22:42:49 -02:30
e3f21f0588 strip NUL bytes instead of replacing with space 2022-10-03 09:29:41 -07:00
8858f03606 adjust test temporarily to unblock master 2022-10-02 20:34:14 -07:00
c953871ec7 use lowercase 'quote' for consistency with existing custom command template functions 2022-10-02 18:43:25 -07:00
e16f1ba84f test: add integration test for Quote 2022-10-01 20:55:49 +09:00
23d39c79b2 update test 2022-09-24 23:37:17 +02:00
0141bbde0e Add test for amending a merge commit 2022-09-24 23:37:17 +02:00
4c7d363959 Add CheckoutBranch and Merge helpers for integration tests 2022-09-24 23:37:17 +02:00
fd66499c8f Merge pull request #2167 from xiaoliwang/remove_deprecated 2022-09-23 23:01:40 -07:00
b8900baf1a remove deprecated calls 2022-09-17 15:10:41 -07:00
7e9dffe1b9 Add Key field to CustomCommandPrompt struct
Add Form field to CustomCommandObjects struct

Write user prompts responses to Form field

Ensure that map keys exists

Add form prompts integration test

Remove redundant index
2022-09-17 14:58:44 -07:00
a92f0f7c89 increase recording leeway 2022-09-17 10:50:04 -07:00
6dca3e1766 allow two attempts on CI 2022-09-16 22:31:46 -07:00
850a82784a earlier failure 2022-09-16 22:22:20 -07:00
74acb3e86a add integration tests for cherry picking 2022-09-16 22:15:16 -07:00
9351af3829 yet another retry to reduce flakiness 2022-09-16 08:55:16 -07:00
7af7af27c6 various changes to improve integration tests 2022-09-16 08:42:39 -07:00
db9373662a test: add test for basic stash 2022-09-15 23:11:27 -02:30
7b757d1cfe add branch rebase integration test 2022-09-09 20:55:47 -07:00
843488bff4 add branch delete integration test 2022-09-09 20:55:47 -07:00
a9d4ff2aee cleaning up imports 2022-09-09 20:55:47 -07:00
8cdfc6758f add another bisect integration test 2022-09-09 20:55:47 -07:00
010f430d1f add bisect integration test 2022-09-09 20:55:47 -07:00
79620fc6cf don't quit integration test tui upon error 2022-09-09 20:55:47 -07:00
47f84b6aea better assertions 2022-09-09 20:55:47 -07:00
6248091e9c test: improve integration test portability 2022-08-18 23:48:53 +09:00
6d7a7afbbc update test readme 2022-08-15 19:24:36 +10:00