Jesse Duffield
58ddbae4d1
Minor refactor
2021-07-27 21:30:08 +10:00
Denis Palashevskii
d5ec0fdcd1
Remove doubled string formatting in pull request URL generation
2021-07-27 21:30:08 +10:00
Denis Palashevskii
755cc9f8d8
Add tests
2021-07-27 21:30:08 +10:00
Jesse Duffield
069c7c9d35
fix test
2021-04-11 17:07:49 +10:00
Jesse Duffield
78867647d1
remove go-gitconfig package
2021-02-08 14:40:30 -08: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
Jesse Duffield
999e170f1d
standardise how we read from the config
2020-11-28 10:45:30 +11:00
Jesse Duffield
4912205adb
remove viper
...
WIP
2020-10-10 00:23:01 +11:00
Jesse Duffield
ce6f8ed1bc
move models folder into commands folder
2020-09-29 20:48:49 +10:00
Jesse Duffield
83748d78f8
fix tests
2020-09-29 20:48:49 +10:00
Jesse Duffield
1759ddf247
move OS commands into their own package
2020-09-29 20:48:49 +10:00
Jesse Duffield
44248d9ab0
pull branch model out into models package
2020-09-29 20:48:49 +10:00
William Wagner Moraes Artero
3ce2b9b79a
chore: keeping coverage up :D
2020-03-01 10:57:12 +11:00
Kristijan Husak
0d208b7957
Update bitbucket pull request url.
2019-03-16 11:58:26 +11:00
Jesse Duffield
4de31da4be
fix up tests
...
This fixes up some git and oscommand tests, and pulls some tests into commit_list_builder_test.go
I've also made the NewDummyBlah functions public so that I didn't need to duplicate them across packages
I've also given OSCommand a SetCommand() method for setting the command on the struct
I've also created a file utils.go in the test package for creating convient 'CommandSwapper's, which
basically enable you to assert a sequence of commands on the command line, and swap each one out for
a different one to actually be executed
2019-03-02 13:39:09 +11:00
BlakeMScurr
181f91d2ef
Add full stops to new comments.
2018-11-30 13:47:14 +13:00
BlakeMScurr
643cdd3461
Add simple comments to uncommented functions.
2018-11-30 11:04:08 +13:00
Kristijan Husak
990dc8c4ea
Add separate open command for links and check if branch exists on remote before opening pull request link.
2018-10-20 11:58:08 +02:00
Kristijan Husak
c69fce2e9d
Remove unnecessary nil error in NewPullRequest.
2018-10-15 11:00:19 +02:00
Kristijan Husak
df0e3e52fe
Add option to create pull request form branches panel.
2018-10-13 22:54:51 +02:00