summaryrefslogtreecommitdiffstats
path: root/pkg
AgeCommit message (Collapse)Author
2019-11-05fix headerRegexpDawid Dziurla
2019-11-05please golang-ciDawid Dziurla
2019-11-05use v keybindings instead of cJesse Duffield
2019-11-05support split view in staging panel and staging rangesJesse Duffield
2019-11-05rewrite staging to support line ranges and reversingJesse Duffield
Now we can stage lines by range and we can also stage reversals meaning we can delete lines or move lines from the working tree to the index and vice versa. I looked at how a few different git guis achieved this to iron out some edge cases, notably ungit and git cola. The end result is disstinct from both those repos, but I know people care about licensing and stuff so I'm happy to revisit this if somebody considers it derivative.
2019-10-27\#480 Close popup panels before switching to a side view0.8.3Giorgio Previtera
Reusing the `onNewPopupPanel` function to close existing popup panels (if any) before switching to a new side view. Alse closing any confirmation prompt.
2019-10-27480 - remove duplication by using a decoratorGiorgio Previtera
Also use a for loop to append the new keybindings
2019-10-27#480 Allow cycling side panels with number keysGiorgio Previtera
2019-10-20Removed the pkg/gui/theme.go filemjarkk
Moved most functions to the new theme/theme.go
2019-10-20Added light theme option to the settingsmjarkk
2019-09-24UserConfigPath -> UserConfigDirDawid Dziurla
2019-09-24download updated binary to config dir rather than /tmpDawid Dziurla
2019-09-08use git.autoFetch config optionmatejcik
2019-09-08move git config options to top-level in default configmatejcik
2019-09-08use gui.g directlymatejcik
2019-09-08startBackgroundFetch does not return errorsmatejcik
2019-09-08configurable auto-fetchmatejcik
2019-09-01switch to Go modulesDawid Dziurla
2019-07-27477 Remove unnecessary variable checkGiorgio Previtera
hasInlineMergeConflicts is always true with hasMergeConflicts is true
2019-07-27#477 Remove `NeedMerge` booleanGiorgio Previtera
Instead of storing the status in a new variable, derive it from the existing three fields
2019-07-27477 Add new `NeedReset` property to File and update testsGiorgio Previtera
Use a boolean to determin if a file needs to be reset. We want to reset the file when discrading changes if there is a conflict.
2019-07-27477 Remove duplicate checkoutGiorgio Previtera
We already checout the file calling `c.DiscardUnstagedFileChanges`
2019-07-27#477 Discard changes when there are merge conflictsGiorgio Previtera
If there are merge conflicts, reset the file and discard all changes
2019-07-27Simplified boolean comparisonChristian Muehlhaeuser
2019-07-27err was assigned but never checkedChristian Muehlhaeuser
2019-07-27Swallow errors entirely, instead of assigning and ignoring themChristian Muehlhaeuser
2019-07-27Simplified code a bitChristian Muehlhaeuser
2019-07-27Removed unnecessary string conversionChristian Muehlhaeuser
2019-07-14show actual error when trying to check out a branch that doesn't existJesse Duffield
2019-07-14fix typohaowei
2019-07-14472 - Update error messageGiorgio Previtera
2019-07-14472 - Don't panic if not in a repositoryGiorgio Previtera
Display a friendly message and exit with an error if not in a Git repository. Using the same approach used in this PR: https://github.com/jesseduffield/lazydocker/pull/14/files
2019-06-29use fork of roll that doesn't care about errorsJesse Duffield
2019-06-29Revert "emergency situation: we're not logging to rollrus while we're past ↵Jesse Duffield
the request quota" This reverts commit c107eed8902ac5dbdae66988fc0e2d464be62749.
2019-06-24emergency situation: we're not logging to rollrus while we're past the ↵Jesse Duffield
request quota
2019-06-08revert menu panel error panel usageJesse Duffield
2019-06-06add GIT_OPTIONAL_LOCKS=0 env var to all commandsJesse Duffield
2019-06-06allow stashing staged changesJesse Duffield
reinstate old stash functionality with the 's' keybinding
2019-05-26request explicit return from subprocessJesse Duffield
Previously we were recording output from subprocesses using a multiwriter and hooking that up to the cmd's stdout to write to both os.Stdout and a buffer. We would then display the output after the program finished. This worked well for commands like 'ls' but not for commands like 'vi' which expect you to be in a tty, and when you've got the cmd's stdout pointing at a multiwriter, the subprogram thinks we're not in a tty and then things like terminal corruption can happen. This was the case with neovim, and even in vim a warning was given with a pause before starting the program. Now we're chucking out the multiwriter and instead making it that you need to press enter after the program has finished to return to lazygit. This allows you to view the output of the program (e.g. if it's ls) and then decide that you want to return. It's one level of unnecessary redirection for editors like vim, but even they could potentially have output to stderr/stdout that you want to look at before returning. Please enter the commit message for your changes. Lines starting
2019-05-26support going to start/end of line and deleting lines in simple editorJesse Duffield
2019-05-25use shift+j/k to scroll main, ctrl+j/k to move commitsJesse Duffield
2019-05-19fix padding with coloures stringsJesse Duffield
2019-05-18simplify code for logging output of subprocessJesse Duffield
2019-05-12Support opening lazygit in a submodulev0.8Jesse Duffield
2019-05-12Add alternatives for scroll actions to context mapSuhas Karanth
2019-05-12Add field Alternative to gui.BindingSuhas Karanth
Document and use alternative keybinding for generating cheatsheet. Add alt keybinding fn+up/down for scroll up/down actions. Also run `go run scripts/generate_cheatsheet.go`.
2019-05-07Made not enough space pannel looks better on 1 heightmjarkk
2019-05-06Fixed some sugestions from jesseduffieldmjarkk
2019-05-06Merge branch 'master' into smaller-uiMark Kopenga
2019-05-06support resetting to a commit in either soft, hard, or mixed modeJesse Duffield