Skip to content

Commit fe73103

Browse files
Renaming function in src
1 parent 4ed0daa commit fe73103

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

contribute.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function contribute(repoName, printLevel, autoOption)
9393
% list the available branches if the fork is already configured
9494
if exist('gitConf.fullForkDir', 'var')
9595
%list all available branches
96-
listFeatures();
96+
listBranches();
9797
end
9898

9999
% define a name of an example branch
@@ -116,7 +116,7 @@ function contribute(repoName, printLevel, autoOption)
116116
cd(gitConf.fullForkDir);
117117

118118
%list all available branches
119-
[exitFlag, currentBranch, ~, exampleBranch] = listFeatures();
119+
[exitFlag, currentBranch, ~, exampleBranch] = listBranches();
120120

121121
if ~strcmpi('develop', currentBranch) && ~strcmpi('master', currentBranch)
122122
exampleBranch = currentBranch;
@@ -137,7 +137,7 @@ function contribute(repoName, printLevel, autoOption)
137137
% list the available branches if the fork is already configured
138138
if exist('gitConf.fullForkDir', 'var')
139139
%list all available branches
140-
listFeatures();
140+
listBranches();
141141
end
142142

143143
while isempty(reply)

src/deleteContribution.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ function deleteContribution(branchName)
9494
end
9595

9696
%list all available branches
97-
listFeatures();
97+
listBranches();
9898
end

src/initContribution.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function initContribution(branchName)
4949
if checkBranchExistence(branchName) && checkoutFlag
5050
% list the available branches if the fork is already configured
5151
if exist('gitConf.fullForkDir', 'var')
52-
listFeatures();
52+
listBranches();
5353
end
5454

5555
reply = input([gitCmd.lead, ' -> You already worked on a branch named <', branchName, '>. Do you want to continue working on <', branchName, '>? Y/N [Y]:'], 's');

src/listBranches.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
function [exitFlag, currentBranch, arrResult, exampleBranch] = listFeatures()
1+
function [exitFlag, currentBranch, arrResult, exampleBranch] = listBranches()
22
% Lists all available branches
33
%
44
% USAGE:
55
%
6-
% [exitFlag, currentBranch, arrResult, exampleBranch] = listFeatures()
6+
% [exitFlag, currentBranch, arrResult, exampleBranch] = listBranches()
77
%
88
% OUTPUT:
99
% exitFlag: Boolean (true if proper exit of function)

test/testCheckSystem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
delete('test-CI.txt');
6767

6868
% list available branches
69-
listFeatures();
69+
listBranches();
7070

7171
% check the status of the repository
7272
checkStatus();

0 commit comments

Comments
 (0)