@@ -1809,20 +1809,20 @@ ClassMethod RunGitCommandWithInput(command As %String, inFile As %String = "", O
1809
1809
set outLog = ##class (%Library.File ).TempFilename ()
1810
1810
set errLog = ##class (%Library.File ).TempFilename ()
1811
1811
1812
- set command = $extract (..GitBinPath (),2 ,*-1 )
1812
+ set gitCommand = $extract (..GitBinPath (),2 ,*-1 )
1813
1813
1814
1814
set baseArgs = " /STDOUT=" _$$$QUOTE(outLog )_" /STDERR=" _$$$QUOTE(errLog )_$case (inFile , " " :" " , :" /STDIN=" _$$$QUOTE(inFile ))
1815
1815
try {
1816
1816
// Inject instance manager directory as global git config home directory
1817
1817
// On Linux, this avoids trying to use /root/.config/git/attributes for global git config
1818
1818
set env (" XDG_CONFIG_HOME" ) = ##class (%File ).ManagerDirectory ()
1819
- set returnCode = $zf (-100 ," /ENV=env... " _baseArgs ,command ,newArgs ...)
1819
+ set returnCode = $zf (-100 ," /ENV=env... " _baseArgs ,gitCommand ,newArgs ...)
1820
1820
} catch e {
1821
1821
if $$$isWINDOWS {
1822
- set returnCode = $zf (-100 ,baseArgs ,command ,newArgs ...)
1822
+ set returnCode = $zf (-100 ,baseArgs ,gitCommand ,newArgs ...)
1823
1823
} else {
1824
1824
// If can't inject XDG_CONFIG_HOME (older IRIS version), need /SHELL on Linux to avoid permissions errors trying to use root's config
1825
- set returnCode = $zf (-100 ," /SHELL " _baseArgs ,command ,newArgs ...)
1825
+ set returnCode = $zf (-100 ," /SHELL " _baseArgs ,gitCommand ,newArgs ...)
1826
1826
}
1827
1827
}
1828
1828
0 commit comments