1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-08 04:01:59 +03:00
Commit Graph

6621 Commits

Author SHA1 Message Date
13639ac924 faster test 2022-12-24 19:05:46 +11:00
5c11b1ecb7 discard changes integration test 2022-12-24 19:05:46 +11:00
7c7f7bf9b9 migrate diffing integration tests 2022-12-21 22:52:23 +11:00
57a1817deb don't kill long-running sandbox sessions 2022-12-21 22:51:39 +11:00
b6c73b3620 Change null as the default return-alt1 2022-12-20 21:39:24 +08:00
7bdba1abe4 fix(#2309): fix diff scroll 2022-12-20 22:25:49 +09:00
c77df59b9b Merge pull request #2325 from jesseduffield/migrate-even-more-tests 2022-12-20 23:14:10 +11:00
f910b42c9c migrate confirm-on-quit integration test 2022-12-20 23:08:39 +11:00
dde70486a1 apply user config changes in sandbox mode 2022-12-20 23:07:43 +11:00
186b7197e4 clean up some integration test stuff 2022-12-20 22:54:00 +11:00
6ec88ce8ba Merge pull request #2323 from jesseduffield/migrate-more-tests 2022-12-20 22:51:04 +11:00
e3c6738535 remove snapshot approach for new integration tests 2022-12-20 22:45:03 +11:00
bc4ace8357 add commit revert integration test 2022-12-20 22:45:02 +11:00
b40190bd94 add multi-line commit integration test 2022-12-20 22:45:02 +11:00
abbd598992 bump gocui 2022-12-20 22:06:44 +11:00
5679efe174 Merge pull request #2239 from bdach/u2f-key-prompts
close https://github.com/jesseduffield/lazygit/issues/2230
2022-12-20 21:44:29 +11:00
6bf28d325f Ament description about return-alt1 2022-12-20 14:08:33 +08:00
43b5a80738 Merge pull request #2320 from jesseduffield/migrate-yet-another-integration-test 2022-12-19 23:01:42 +11:00
b13cfdfea0 migrate branch reset integration test 2022-12-19 22:38:32 +11:00
b647241521 Updated README.md 2022-12-19 11:26:28 +00:00
1e85bc3d62 Merge pull request #2315 from navazjm/iss2302 2022-12-19 22:26:09 +11:00
3a1921cab0 updated rebase confirmation message 2022-12-16 17:36:37 -06:00
6386a03805 add return alt1 2022-12-11 15:44:25 +08:00
d69b2fef9a Merge pull request #2298 from arnaudperalta/commit-in-staged-menu
Closes undefined
2022-12-01 10:01:55 +11:00
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
d0499286e2 keybindings cheatsheet for commit in unstaged/staged 2022-12-01 09:12:18 +11:00
0af63daf18 workingtree controller fixed with new references for commit in staged menu 2022-12-01 09:12:18 +11:00
8b894d7bf5 wip: commit logic in helper and reported in files/staging controllers 2022-12-01 09:12:18 +11:00
f7449ed53a Updated README.md 2022-11-30 08:40:32 +00:00
ff25016a6a Merge pull request #2303 from jesseduffield/fix-ignore-keybinding 2022-11-30 19:40:12 +11:00
65d6d7fb2d fix ignore file keybinding 2022-11-30 19:36:35 +11:00
1a1f042f49 Add credential prompts for U2F-backed SSH keys
The 8.2 release of OpenSSH added support for FIDO/U2F hardware
authenticators, which manifests in being able to create new types of SSH
key, named `ecdsa-sk` nad `ed25519-sk`. This is relevant to lazygit,
as those SSH keys can be used to authorise git operations over SSH, as
well as signing git commits. Actual code changes are required for
correct support, as the authentication process for these types of keys
is different than the process for types supported previously.

When an operation requiring credentials is initialised with a U2F
authenticator-backed key, the first prompt is:

	Enter PIN for ${key_type} key ${path_to_key}:

at which point the user is supposed to enter a numeric (and secret) PIN,
specific to the particular FIDO/U2F authenticator using which the SSH
keypair was generated. Upon entering the correct key, the user is
supposed to physically interact with the authenticator to confirm
presence. Sometimes this is accompanied by the following text prompt:

	Confirm user presence for key ${key_type} ${key_fingerprint}

This second prompt does not always occur and it is presumed that the
user will know to perform this step even if not prompted specifically.
At this stage some authenticator devices may also begin to blink a LED
to indicate that they're waiting for input.

To facilitate lazygit's interoperability with these types of keys, add
support for the first PIN prompt, which allows "fetch", "pull", and
"push" git operations to complete.
2022-11-30 13:34:32 +11:00
5b3f684afb Merge pull request #2276 from Ryooooooga/bump-gocui 2022-11-26 13:42:38 +11:00
618b845f5e Updated README.md 2022-11-26 02:42:33 +00:00
f96246c038 Merge pull request #2284 from arnaudperalta/defaultfgcolor-config
Closes https://github.com/jesseduffield/lazygit/issues/2279
2022-11-26 13:41:41 +11:00
773eb0310f Merge pull request #2296 from jesseduffield/fix-prompt-response-not-stored 2022-11-26 13:41:30 +11:00
03ce22f3c9 Update docs/Config.md 2022-11-26 13:39:00 +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
cf048e4807 bump gocui 2022-11-25 21:48:44 +09:00
a6ebc5869e Updated README.md 2022-11-24 22:54:15 +00:00
ffc2a6805a Merge pull request #2290 from nils-a/buxfix/quote-regex 2022-11-25 09:53:57 +11:00
d24feb14e5 added test data 2022-11-24 13:17:02 +00: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
37997dcbcd [#2279] defaultFgColor entry in theme config 2022-11-21 21:48:18 +01:00
924a152ae9 Update CONTRIBUTING.md 2022-11-15 16:00:46 +11:00
2b8e412ed3 Update CONTRIBUTING.md 2022-11-14 20:54:27 +11:00
d1a8b05401 use github native to generate release notes v0.36.0 2022-11-14 20:21:33 +11:00
de22238589 Merge pull request #2224 from Ryooooooga/ambiguous-branch 2022-11-14 19:09:37 +11:00