Skip to content

Commit 5c5a0f3

Browse files
Do not return the current time as a timestamp when the settings file has never been imported
Returning the current time can prevent import of the settings file as it can prevent it from being considered outdated.
1 parent bda0474 commit 5c5a0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/SourceControl/Git/Settings/Document.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Method UpdateHash(stream)
102102
/// or "" if the routine does not exist.
103103
ClassMethod TimeStamp(name As %String) As %TimeStamp
104104
{
105-
return $get(@##class(SourceControl.Git.Utils).#Storage@("settings","TS"), $zdatetime($h,3))
105+
return $get(@##class(SourceControl.Git.Utils).#Storage@("settings","TS"), "")
106106
}
107107

108108
}

0 commit comments

Comments
 (0)