Skip to content

Commit 0e9b877

Browse files
committed
addressed issue where pull doesn't work with preview
1 parent 6d7b971 commit 0e9b877

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

cls/SourceControl/Git/API.cls

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ ClassMethod Configure()
3636
}
3737
}
3838

39-
/// API for git pull - just wraps Utils
40-
ClassMethod Pull(preview As %Boolean = 0)
41-
{
42-
quit ##class(SourceControl.Git.Utils).Pull(,.preview)
43-
}
4439

4540
/// Locks the environment to prevent changes to code other than through git pull.
4641
/// Returns 1 if the environment was already locked, 0 if it was previously unlocked.

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ ClassMethod GetCurrentBranch() As %String
439439
quit branchName
440440
}
441441

442-
ClassMethod Pull(remote As %String = "origin", preview As %Boolean = 0) As %Status
442+
ClassMethod Pull(remote As %String = "origin") As %Status
443443
{
444444
#define Force 1
445445
do ##class(SourceControl.Git.Utils).RunGitCommandWithInput("branch",,.errStream,.outStream,"--show-current")

0 commit comments

Comments
 (0)