|
|
|
@ -1240,7 +1240,7 @@ namespace eval punk::repo {
|
|
|
|
|
|
|
|
|
|
#------------------------------------ |
|
|
|
|
#limit to exec so full punk shell not required in scripts |
|
|
|
|
proc git_revision {{path {}}} { |
|
|
|
|
proc git_revision {{path ""}} { |
|
|
|
|
if {$path eq {}} { set path [pwd] } |
|
|
|
|
# ::kettle::path::revision.git |
|
|
|
|
do_in_path $path { |
|
|
|
@ -1254,7 +1254,7 @@ namespace eval punk::repo {
|
|
|
|
|
} |
|
|
|
|
return [string trim $v] |
|
|
|
|
} |
|
|
|
|
proc git_remote {{path {{}}}} { |
|
|
|
|
proc git_remote {{path ""}} { |
|
|
|
|
if {$path eq {}} { set path [pwd] } |
|
|
|
|
do_in_path $path { |
|
|
|
|
try { |
|
|
|
|