diff options
Diffstat (limited to 'subcmds/rebase.py')
-rw-r--r-- | subcmds/rebase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/rebase.py b/subcmds/rebase.py index eb92a3c7..24d80bfd 100644 --- a/subcmds/rebase.py +++ b/subcmds/rebase.py | |||
@@ -53,7 +53,7 @@ branch but need to incorporate new upstream changes "underneath" them. | |||
53 | dest='force_rebase', action='store_true', | 53 | dest='force_rebase', action='store_true', |
54 | help='Pass --force-rebase to git rebase') | 54 | help='Pass --force-rebase to git rebase') |
55 | p.add_option('--no-ff', | 55 | p.add_option('--no-ff', |
56 | dest='no_ff', action='store_true', | 56 | dest='ff', default=True, action='store_false', |
57 | help='Pass --no-ff to git rebase') | 57 | help='Pass --no-ff to git rebase') |
58 | p.add_option('-q', '--quiet', | 58 | p.add_option('-q', '--quiet', |
59 | dest='quiet', action='store_true', | 59 | dest='quiet', action='store_true', |
@@ -93,7 +93,7 @@ branch but need to incorporate new upstream changes "underneath" them. | |||
93 | common_args.append('--quiet') | 93 | common_args.append('--quiet') |
94 | if opt.force_rebase: | 94 | if opt.force_rebase: |
95 | common_args.append('--force-rebase') | 95 | common_args.append('--force-rebase') |
96 | if opt.no_ff: | 96 | if not opt.ff: |
97 | common_args.append('--no-ff') | 97 | common_args.append('--no-ff') |
98 | if opt.autosquash: | 98 | if opt.autosquash: |
99 | common_args.append('--autosquash') | 99 | common_args.append('--autosquash') |