Compare commits
2 Commits
f26067b24f
...
a89c0309ad
Author | SHA1 | Date | |
---|---|---|---|
|
a89c0309ad | ||
|
ea9902ef74 |
13
lib/git.tcl
13
lib/git.tcl
|
@ -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 {} {
|
||||
|
|
Loading…
Reference in New Issue
Block a user