Compare commits
No commits in common. "a89c0309ad86f492423f7cc18835c0b91829610c" and "f26067b24ff5c94b05ff7de340d7394548585107" have entirely different histories.
a89c0309ad
...
f26067b24f
13
lib/git.tcl
13
lib/git.tcl
|
@ -166,20 +166,17 @@ namespace eval Git {
|
||||||
}
|
}
|
||||||
proc Push {url} {
|
proc Push {url} {
|
||||||
global cfgVariables activeProject gitUser gitPassword
|
global cfgVariables activeProject gitUser gitPassword
|
||||||
set cmd exec
|
# set cmd exec
|
||||||
lappend cmd "$cfgVariables(gitCommand)"
|
lappend cmd "$cfgVariables(gitCommand)"
|
||||||
cd $activeProject
|
cd $activeProject
|
||||||
lappend cmd "push"
|
lappend cmd "push"
|
||||||
lappend cmd "$url"
|
lappend cmd "$url"
|
||||||
# lappend cmd "$activeProject"
|
# lappend cmd "$activeProject"
|
||||||
puts "$cmd"
|
puts "$cmd"
|
||||||
catch $cmd pipe
|
# set pipe [open "|$cfgVariables(gitCommand) $cmd" "RDWR"]
|
||||||
puts $pipe
|
# fconfigure $pipe -buffering none -blocking no
|
||||||
foreach line [split $pipe "\n"] {
|
# close $pipe
|
||||||
# puts "$line"
|
return
|
||||||
lappend res $line
|
|
||||||
}
|
|
||||||
return $res
|
|
||||||
}
|
}
|
||||||
|
|
||||||
proc Merge {} {
|
proc Merge {} {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user