diff --git a/sys/src/cmd/git/clone b/sys/src/cmd/git/clone index 62b6036dc..93e7f0b97 100755 --- a/sys/src/cmd/git/clone +++ b/sys/src/cmd/git/clone @@ -33,7 +33,7 @@ fn clone{ echo '[remote "origin"]' echo ' url='$remote } - {git/fetch $debug $branchflag $remote >[2=3] | awk ' + {git/get $debug $branchflag $remote >[2=3] | awk ' BEGIN{ headref="" if(ENVIRON["branch"] != "") diff --git a/sys/src/cmd/git/compat b/sys/src/cmd/git/compat index f0c7fce42..25d14308f 100755 --- a/sys/src/cmd/git/compat +++ b/sys/src/cmd/git/compat @@ -131,7 +131,7 @@ fn cmd_ls-remote{ remote=`$nl{git/conf 'remote "'$1'".url'} if(~ $#remote 0) remote=$1 - git/fetch -l $remote | awk '/^remote/{print $3"\t"$2}' + git/get -l $remote | awk '/^remote/{print $3"\t"$2}' } fn cmd_version{ diff --git a/sys/src/cmd/git/fetch.c b/sys/src/cmd/git/get.c similarity index 100% rename from sys/src/cmd/git/fetch.c rename to sys/src/cmd/git/get.c diff --git a/sys/src/cmd/git/mkfile b/sys/src/cmd/git/mkfile index 610d3af7e..e8df434ff 100644 --- a/sys/src/cmd/git/mkfile +++ b/sys/src/cmd/git/mkfile @@ -3,7 +3,7 @@ BIN=/$objtype/bin/git TARG=\ conf\ - fetch\ + get\ fs\ log\ query\ diff --git a/sys/src/cmd/git/pull b/sys/src/cmd/git/pull index 4b84a9f8a..a4c4ce8eb 100755 --- a/sys/src/cmd/git/pull +++ b/sys/src/cmd/git/pull @@ -10,7 +10,7 @@ fn update{ dflag=() if(! ~ $#debug 0) dflag='-d' - {git/fetch $dflag -u $upstream $url >[2=3] || die $status} | awk ' + {git/get $dflag -u $upstream $url >[2=3] || die $status} | awk ' /^remote/{ if($2=="HEAD") next