Commit Graph

16 Commits

Author SHA1 Message Date
Matthieu Guilbert 534782414f git_push: Handle command containing force argument (#818) 2018-07-10 00:48:08 +02:00
David Hart c205683a8d git_push: Handle branch names containing 'set-upstream' (#759)
This should fix https://github.com/nvbn/thefuck/issues/723 (IndexError when using bitbucket)
2018-01-06 17:44:03 -05:00
David Hart b62bb90a0d git_push: Escape single quote in branch names (#760)
Parameterize test output fixture.

Check for 'push' in command.script_parts than anywhere in command.script.
2018-01-04 11:40:01 -05:00
David Hart 57fb6e079a git_push: Make option handling more robust (#751)
See https://github.com/nvbn/thefuck/issues/740#issuecomment-354466567
2018-01-01 19:45:46 -05:00
Joseph Frazier 4ea02a3153
git_push: Don't add duplicate remote/branch name (#745)
This fixes https://github.com/nvbn/thefuck/issues/740
2017-12-27 07:54:52 -05:00
Vladimir Iakovlev 4625d8503d #682: Unify work with output in classic and instant mode 2017-08-31 17:58:56 +02:00
Joseph Frazier feb36ede5c Fix suggestion for `git push -u`
This was broken by https://github.com/nvbn/thefuck/pull/559
2016-10-06 13:09:40 -04:00
Joseph Frazier 934eeaf4fc Test that `git push -u origin` still works
This was broken by https://github.com/nvbn/thefuck/pull/538
2016-09-30 16:11:46 -04:00
Luke Childs 5df350254e Check arguments are preserved in git_push 2016-08-19 22:29:43 +01:00
Luke Childs 612c393ec4 Check git_push matches without specifying a branch 2016-08-19 22:19:09 +01:00
nvbn df4d2cc88d ⚠️ Remove `settings` param from rules `match`, `get_new_command` and `side_effect` 2015-09-07 13:00:29 +03:00
mcarton 903abff77e Support hub as well as git in @git_support 2015-07-21 15:06:04 +02:00
nvbn b7cb407637 Add useful constructors for `Rule` and `Command` for tests 2015-04-25 02:35:26 +02:00
nvbn d3d1f99232 Move special data types to `types` 2015-04-22 23:04:22 +02:00
nvbn 9ed022d67f Pass settings to the rules 2015-04-08 21:08:35 +02:00
nvbn 71f1f4224b Initial commit 2015-04-08 18:15:49 +02:00