51 Commits
Author SHA1 Message Date
Jesse Duffield 19d2994af8 no more mocking command 2021-12-31 10:46:34 +11:00
Jesse Duffield ad4fd67db3 WIP 2021-12-31 10:44:47 +11:00
Jesse Duffield edd43bcbeb WIP 2021-12-30 17:19:01 +11:00
Jesse Duffield 061db91002 WIP 2021-12-30 13:44:41 +11:00
Jesse Duffield 2455faec1b more refactoring 2021-12-30 13:35:10 +11:00
Jesse Duffield c24bb11141 updating specs 2021-12-30 13:11:58 +11:00
Jesse Duffield b21997d6b4 fix logging 2021-12-30 11:35:15 +11:00
Jesse Duffield e94e8fc5b6 refactor 2021-12-30 11:22:29 +11:00
Jesse Duffield d8084cd558 WIP 2021-12-30 10:44:08 +11:00
Jesse Duffield 65f910ebd8 WIP 2021-12-30 10:41:15 +11:00
Jesse Duffield 26c07b1ab3 WIP 2021-12-29 15:05:52 +11:00
Jesse Duffield 3d4470a6c0 WIP 2021-12-29 14:33:38 +11:00
Jesse Duffield 4ab4af441e no more config in git command struct 2021-12-29 11:41:33 +11:00
Jesse Duffield bdc54a5deb introduce Common struct for passing around common stuff 2021-12-29 11:37:15 +11:00
Jesse Duffield d913c04109 WIP 2021-12-29 09:14:39 +11:00
Jesse Duffield f704707d29 stream output from certain git commands in command log panel 2021-10-30 18:26:06 +11:00
Jesse Duffield 6388af70ac simplify pull logic 2021-10-22 21:33:17 +11:00
RyoooooogaandJesse Duffield 7564e506b5 Enable/disable os specific tests at compile time 2021-10-17 11:00:20 +11:00
RyoooooogaandJesse Duffield 1e50764b4d Fix tests 2021-10-17 11:00:20 +11:00
RyoooooogaandJesse Duffield 4171b7613c Use replacer 2021-10-16 22:40:50 +11:00
RyoooooogaandJesse Duffield 92f03a7872 Escape special characters 2021-10-16 22:40:50 +11:00
RyoooooogaandJesse Duffield 2dc8396deb Fix test 2021-10-16 22:40:50 +11:00
RyoooooogaandJesse Duffield 7b615e3186 Fix open link command in Windows 2021-10-16 22:40:50 +11:00
Jesse Duffield 87e9d9bdc2 minor changes 2021-10-16 21:18:43 +11:00
black_desk 66d0fd2133 Format code to pass lint 2021-09-16 21:38:43 +08:00
RyoooooogaandJesse Duffield c3d7de1c18 Change not to use cat command 2021-08-25 21:32:48 +10:00
Francisco MiamotoandJesse Duffield f8f596d097 add tests for open file cmd on linux 2021-07-27 20:28:00 +10:00
Francisco MiamotoandJesse Duffield 028cb2be2f add extra quoting for shell cmd string on linux
This solves an issue where we could not open files with names that contained
spaces and single quotes.
It also  solves an issue of variable expansion for files with some kind
of environment variables on the name e.g. '$USER.txt'
2021-07-27 20:28:00 +10:00
Jesse Duffield 6137d66914 no need to log this 2021-04-11 17:07:49 +10:00
Jesse Duffield 74320f0075 more logging of commands 2021-04-11 17:07:49 +10:00
Jesse Duffield bb918b579a start adding support for logging of commands 2021-04-11 17:07:49 +10:00
Jesse Duffield e145090046 add cmdLog panel 2021-04-11 17:07:49 +10:00
Jesse Duffield e04e2ebab5 try better logging for CI 2021-04-06 19:34:32 +10:00
Jesse Duffield c33f8d2790 prevent git from prompting user if program is run directly 2021-04-06 19:34:32 +10:00
Jesse Duffield 8901d11674 fix merge conflict cat issue on windows 2021-04-02 13:15:07 +11:00
Jesse Duffield e8e59306fc shell out custom commands 2021-04-01 20:25:30 +11:00
RyoooooogaandJesse Duffield 64daf1310d Fix staging/unstaging files containing " in paths 2021-03-13 11:02:31 +11:00
RyoooooogaandJesse Duffield 50e4e9d58d fix command escaping 2021-03-13 10:49:40 +11:00
Jesse Duffield 09f32d4f84 add secureexec file for getting around windows checking for a binary first in the current dir 2021-02-08 14:40:30 -08:00
unknownandJesse Duffield 922c0887f1 fix type: executable not found error when there is a merge conflict on windows 2021-01-01 13:17:29 -08:00
Jesse Duffield 999e170f1d standardise how we read from the config 2020-11-28 10:45:30 +11:00
Jesse Duffield 682db77401 fix lint errors 2020-11-18 08:36:19 +11:00
Jesse Duffield 1e48afeb8f quote config file when editing 2020-10-12 08:47:12 +11:00
band-a-prendandJesse Duffield 582fd24d78 Add SSH key passphrase prompt to pull/push from/to remote git repo
This commit resolves issue with absence of ssh key prompting
to pull from or push to remote git repository.

I checked lazygit with this patch for successfully pull from
and push to https://gitweb.gentoo.org/repo/proj/guru.git repository.
While for lazygit-0.23.1 I'm not able to do that.

The check for Passphrase follows the Password because of
more long time before SSH key is prompt in terminal.
Otherwise after timeout "Password" prompt is appears.

Excuse me for google translated i18n dutch lines.

Bug: https://github.com/jesseduffield/lazygit/issues/534

Signed-off-by: band-a-prend <torokhov-s-a@yandex.ru>
2020-10-10 17:58:23 +11:00
Jesse Duffield 79e59d5460 add some safe goroutines
WIP
2020-10-10 00:23:01 +11:00
CIandJesse Duffield a9049b4a82 stop using snapshots 2020-10-10 00:23:01 +11:00
Jesse Duffield 485f6d5386 support configurable config 2020-10-10 00:23:01 +11:00
Jesse Duffield 4912205adb remove viper
WIP
2020-10-10 00:23:01 +11:00
Jesse Duffield f3be2b3e68 improved command for deleting a submodule 2020-10-02 08:09:42 +10:00
Jesse Duffield ca105692cf fix windows build 2020-09-29 20:48:49 +10:00