summaryrefslogtreecommitdiffstats
path: root/pkg
AgeCommit message (Collapse)Author
2020-07-18Decouple escaping from quittingv0.20.10Jesse Duffield
When a user is not entering text into a prompt, the 'q' key should immediately quit the application. On the other hand, the 'esc' key should cancel/close/go-back to the previous context. If we're at the surface level (nothing to cancel/close) and the user hits the escape key, the default behaviour is to close the app, however we now have a `quitOnTopLevelReturn` config key to override this. I actually think from the beginning we should have made this config option default to false rather than true which is the default this PR gives it, but I don't want to anger too many people familiar with the existing behaviour.
2020-07-17prompt to create new branch if branch not foundJesse Duffield
2020-07-17prompt to commit all files if committing with no staged filesJesse Duffield
2020-07-15fix TestGitCommandCommit testv0.20.9Randshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-15revert changes to 'os_default_platform.go' and 'os_windows.go'Randshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-15use strconv for quoting in 'GitCommand.Commit' and ↵Randshot
'OSCommand.ShellCommandFromString' use raw strings for the escaped quotes in 'os_default_platform.go' and 'os_windows.go' Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-14factor out duplicate code into 'ShellCommandFromString'v0.20.8Randshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-14add quotes around the git commit command on non-windows systemsRandshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-12Merge branch 'master' into add-overrideGpg-switchRandshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-12fix 'Amend commit using gpg' testRandshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-12fix 'Commit using gpg' testRandshot
Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-12fix platform specific quoting when using GPGRandshot
fixes #620 Signed-off-by: Randshot <randshot@norealm.xyz>
2020-07-10Remove getLocalGitConfigv0.20.5Jasper Mendiola
2020-07-10Rename appconfig to configJasper Mendiola
2020-07-10fix testsJasper Mendiola
2020-07-10add oneline-graphJasper Mendiola
2020-05-30add overrideGpg switch, which prevents lazygit from spawning a separate ↵Randshot
process when using GPG Signed-off-by: Randshot <randshot@norealm.xyz>
2020-05-30Better CWD check for a git repository.Dima Kotik
2020-05-19allow user to scroll themselves inside merge panelv0.20.4Jesse Duffield
2020-05-19fix race condition when scrolling to merge conflictJesse Duffield
2020-05-19allow creating branches off of remote branchesJesse Duffield
2020-05-19fix https://github.com/jesseduffield/lazygit/issues/848Jesse Duffield
2020-05-15additional password prompt regexJesse Duffield
2020-05-15check if user has configured to push to current by defaultJesse Duffield
2020-05-15prevent flicker from bolding background of selected lineJesse Duffield
2020-05-13standardise how we handle background coloursv0.20.3Jesse Duffield
2020-05-09Add option to split patch into a new commitGary Yendell
Add GetHeadCommitMessage to read the subject of the HEAD commit Create PullPatchIntoNewCommit based heavily on PullPatchIntoIndex to split the current patch from its commit and apply it in a separate commit immediately after. WIP to Squash - Fill format string with format string WIP
2020-04-27fix issue #640 add catCmd and OS-specific valuesTyler Davis
Add a catCmd to the Platform struct and set the value to "cat" for non-windows builds and "type" for windows builds.
2020-04-22totally screwed up the last commitv0.20.2Jesse Duffield
2020-04-22handle comments in todo filesv0.20.1Jesse Duffield
2020-04-22fix: fixed yaml typoGlenn Vriesman
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2020-04-21add handler for searching in menuJesse Duffield
2020-04-20warnings for stash actionsv0.20Jesse Duffield
2020-04-20Handle regex compilation errors and show them to the user.Kristijan Husak
2020-04-20Add option to set predefined commit message prefix. Fixes #760.Kristijan Husak
2020-04-20support configurable merge argsJesse Duffield
2020-04-20add bugfix git flow optionJesse Duffield
2020-04-20fix: fixed gpg breaking terminalGlenn Vriesman
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
2020-04-17whoopsJesse Duffield
2020-04-15support copying stuff to clipboardJesse Duffield
2020-03-29add reverse patch optionJesse Duffield
2020-03-29unbold diff infoJesse Duffield
2020-03-29some more UI logicJesse Duffield
2020-03-29better keybindingJesse Duffield
2020-03-29simplify thingsJesse Duffield
2020-03-29don't support files until we understand the use caseJesse Duffield
2020-03-29add new diff modeJesse Duffield
WIP WIP WIP WIP WIP WIP WIP
2020-03-29remove old diff mode codeJesse Duffield
2020-03-29reset main's origin when cycling viewsJesse Duffield
2020-03-29fix conflict race conditionJesse Duffield