summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2022-06-02Refactor core to use runtimeTim Oram
2021-10-18Add failing test and fixtureDaniel Paz-Soldan
2021-09-16Remove unused test fixturesTim Oram
2021-06-12Refactor external editor command runningTim Oram
Move the triggering of the external command to the process module and refactor external editor to use it instead. This also allows the view to be removed from all modules.
2021-03-02Fix custom keybindings using modifiersTim Oram
Almost all the modifiers with keybindings did not function as intended. This updates the config parsing for keybindings to support all modifiers. As a side effect, the modifiers can now be provided in any order. Also, since the tests for this were fragile and required a config file per test case, they have been refactored to generate a git configuration as needed instead.
2021-02-26Add basic support for rebase mergingTim Oram
This adds basic read and write support for the actions added by rebase merging. The new actions can have their content edited, similar to the edit action.
2020-12-23Remove unneeded files from fixturesTim Oram
2020-12-22Add tests for the try_main functionTim Oram
2020-10-22Rewrite the External Editor moduleTim Oram
This is a complete rewrite of the external editor functionality. This update greatly improves the error handling and empty file handling. The ability to rollback the edits to the rebase file in case of error or an invalid file has also added.
2020-09-20Refactor and test external editorTim Oram
The external editor module has not seen any attention in some time and was showing some warts. This refactors the module to remove some dead code and unneeded complexity. This allowed for the error process result to be simplified, view to not be provided to the process function and for two of the internal states to be removed/combined. Tests have also been added to ensure that the module works as expected.
2020-08-02Add tests for the config moduleTim Oram
2020-01-27Add tests and docs for commit::utilsTim Oram
2019-07-24Fix non-zero status code on noop status codeTim Oram
2019-07-19Add horizontal scrollingTim Oram
2019-06-09Move show commit into a moduleTim Oram
2019-04-12Add basic support for the break instructionTim Oram
2018-10-27Add basic support for the exec actionTim Oram
The support is not complete in that there is no way to modify the exec command. This does support reading, reordering and writing of the exec action.
2018-07-10Add support for core.commentCharTim Oram
Having the configuration option core.commentChar set to anything other than # would result in the tool being unable to read the rebase tool. This change reads the configuration value and uses it over the hard-coded value.
2017-03-27Added show commit infoTim Oram
closes #25
2017-02-11Refactor into modules with testsTim Oram