Skip to content

Commit 2ff2ab5

Browse files
authored
Merge pull request #292 from rimrul/pull-option-fix
Pull option fix
2 parents 5147709 + 6b57f9f commit 2ff2ab5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

installer/install.iss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,15 @@ begin
803803
'true': RecordInferredDefault('Enable Symlinks','Enabled');
804804
'false': RecordInferredDefault('Enable Symlinks','Disabled');
805805
end;
806+
'pull.ff':
807+
case Value of
808+
'only': RecordInferredDefault('Git Pull Behavior Option','FFOnly');
809+
end;
810+
'pull.rebase':
811+
case Value of
812+
'true': RecordInferredDefault('Git Pull Behavior Option','Rebase');
813+
'false': RecordInferredDefault('Git Pull Behavior Option','Merge');
814+
end;
806815
end;
807816
end;
808817
i:=j+1;
@@ -3130,7 +3139,7 @@ begin
31303139
Data:='Merge';
31313140
if RdbGitPullBehavior[GP_GitPullRebase].Checked then begin
31323141
Data:='Rebase'
3133-
end else if RdbGitPullBehavior[GP_GitPullRebase].Checked then begin
3142+
end else if RdbGitPullBehavior[GP_GitPullFFOnly].Checked then begin
31343143
Data:='FFOnly'
31353144
end;
31363145
RecordChoice(PreviousDataKey,'Git Pull Behavior Option',Data);

0 commit comments

Comments
 (0)