Browse Source

punk::repo::git_remote arg fix

master
Julian Noble 2 months ago
parent
commit
4425fb5e85
  1. 4
      src/modules/punk/repo-999999.0a1.0.tm

4
src/modules/punk/repo-999999.0a1.0.tm

@ -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 {

Loading…
Cancel
Save