Compare commits

...

2 Commits

Author SHA1 Message Date
svkalinin a89c0309ad Ченю push 2022-10-21 11:21:39 +03:00
svkalinin ea9902ef74 Ченю push 2022-10-21 11:19:54 +03:00
1 changed files with 8 additions and 5 deletions

View File

@ -166,17 +166,20 @@ namespace eval Git {
}
proc Push {url} {
global cfgVariables activeProject gitUser gitPassword
# set cmd exec
set cmd exec
lappend cmd "$cfgVariables(gitCommand)"
cd $activeProject
lappend cmd "push"
lappend cmd "$url"
# lappend cmd "$activeProject"
puts "$cmd"
# set pipe [open "|$cfgVariables(gitCommand) $cmd" "RDWR"]
# fconfigure $pipe -buffering none -blocking no
# close $pipe
return
catch $cmd pipe
puts $pipe
foreach line [split $pipe "\n"] {
# puts "$line"
lappend res $line
}
return $res
}
proc Merge {} {